一般在术后$TTL
和$ORIGIN
有一行开始@
和IN
在区域名称,然后管理员的电子邮件地址,什么是@
这里的意思,并在未来的项目?
$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
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句