Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

15.2.2.4. 注释标签

除了语句外,/etc/named.conf 文件还可以包含注释。注释将被指定服务忽略,但可在向用户提供附加信息时证明非常有用。以下是有效的注释标签:
//
行末尾 // 字符后面的任何文本都将被视为注释。例如:
notify yes;  // notify all secondary nameservers
#
行末尾 # 字符后面的任何文本都将被视为注释。例如:
notify yes;  # notify all secondary nameservers
/**/
包括在 /**/ 中的任何文本块均被视为注释。例如:
notify yes;  /* notify all secondary nameservers */