<pre name="code" class="sql"><pre name="code" class="sql">[root@dr-mysql01 etc]# ls -ltr named.rfc1912.zones 
-rw-r--r-- 1 root named 1598 Aug 19 14:25 named.rfc1912.zones
[root@dr-mysql01 etc]# pwd
/var/named/chroot/etc

zone "zjtest4.com" IN {
type master;
file "zjtest4.com.zone";
};


[root@dr-mysql01 named]# pwd
/var/named
[root@dr-mysql01 named]# cat zjtest4.com.zone
$TTL 1D
@ IN SOA zjtest4.com. rname.invalid. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
NS @
A 127.0.0.1
AAAA ::1
www IN A 192.168.32.39

[root@dr-mysql01 etc]# pwd
/var/named/chroot/etc

添加:
[root@dr-mysql01 etc]# vim named.rfc1912.zones