一般在术后$TTL和$ORIGIN有一行开始@和IN在区域名称,然后管理员的电子邮件地址,什么是@这里的意思,并在未来的项目?
一般在术后$TTL和$ORIGIN有一行开始@和IN在区域名称,然后管理员的电子邮件地址,什么是@这里的意思,并在未来的项目?
Answers:
$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
$ORIGIN缺少,则@指的是区域名称。