Rad*_*anu 10
$ORIGIN 在区域文件处理期间在两种上下文中使用:
$ORIGIN被添加到任何“非限定”名称(任何不以“点”结尾的名称)。@符号替换示例:
; example.com zone file fragment
; no $ORIGIN present and is synthesized from the
; zone name in named.conf
....
@ IN NS ns1.example.com.
; ns1.example.com is the name server for example.com
....
$ORIGIN uk.example.com.
@ IN NS ns2.example.com.
; functionally identical to
; uk.example.com. IN NS ns2.example.com.
; ns2.example.com is the name server for uk.example.com
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
12068 次 |
| 最近记录: |