28800 ;refresh
14400 ;retry
3600000 ;expire
86400 ) ;minimum
@ IN NS test.com.cn.
198 IN PTR www.test.com.cn.
198 IN PTR ftp.test.com.cn.
4)named.test.com.cn
$TTL 86400
@ IN SOA test.com.cn. root.test.com.cn. (
2003061800;serial
28800 ;refresh
14400 ;retry
3600000 ;expire
86400 ) ;minimum
@ IN NS test.com.cn.
www IN A 192.168.1.198
ftp IN A 192.168.1.198
test.com.cn IN A 192.168.1.198
test.com.cn IN MX 5 192.168.1.198 ;设置test.com.cn域名mx纪录,优先级别为5,数值越低级别越高
13. 修改/etc/host.conf文件,内容如下:
order bind,hosts
14.修改/etc/resolv.conf文件,内容如下:
nameserver 192.168.1.198
15.运行
#/usr/local/sbin/named -c /etc/named.conf &