[root@wlzxaeh named]# vi wlzxaeh.zone
2001120100 ; Serial
10800
3600
3600000
86400 )
IN NS ns.wlzxaeh.com.
IN MX 10 mail.wlzxaeh.com.
IN A x.x.x.x
$ORIGIN wlzxaeh.com.
$ORIGIN wlzxaeh.com.
; servers
fw IN A x.x.x.x
atlas CNAME fw
www IN A x.x.x.x
tigres CNAME www
下面就是namedconf
options {
directory "/var/named/";
};
zone "." {
type hint;
file "named.ca";
};
zone "localhost" {
type master;
file "localhost.zone";
};
zone "wlzxaeh.com" {
type master;
file "wlzxaeh.zone";
};
zone "x.x.x.addr" {
type master;
file "x.x.x.zone";
};