$TTL 3600
@ IN SOA @ root (
20100923 ;serial (d. adams)
3H ;refresh
15M ;retry
1W ;expiry
3600) ;minimum
IN NS @
IN A 127.0.0.1
修改localhost.rev文件:
vi localhost.rev
内容如下:
$TTL 3600
@ IN SOA localhost. root.localhost. (
20100923 ; serial
3600 ; refresh every hour
900 ; retry every 15 minutes
3600000 ; expire 1000 hours
3600) ; minimun 1 hour
IN NS localhost.
1 IN PTR localhost.
修改linuxidc.com.zone域名解析文件:
vi linuxidc.com.zone
内容如下:
$TTL 86400
@ IN SOA dns.linuxidc.com. root.linuxidc.com. (
420000 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS dns.linuxidc.com.
dns IN A 192.168.1.107
www IN A 192.168.1.107
linuxidc.com. IN MX 5 mail.linuxidc.com.
bbs IN CNAME www
mail IN A 192.168.1.6
修改反向解析文件192.168.1.zone
vi 192.168.1.zone
内容如下: