|
|
发表于 2006-4-21 13:59:54
|
显示全部楼层
cat test.com.zone
$TTL 86400
@ IN SOA ns.test.com. root.test.com. (
2006042113;
3H;
1M;
2W;
1D );
IN NS ns.test.com.
IN MX 1 mail.test.com.
ns IN A 192.168.2.22
mail IN A 192.168.2.22
a.test.com. IN NS ns.a.test.com.
cat a.test.com.zone
$TTL 86400
@ IN SOA ns.a.test.com. root.a.test.com. (
2006042113;
3H;
1M;
2W;
1D );
IN NS ns.a.test.com.
IN MX 1 mail.a.test.com.
ns.a.test.com. IN A 192.168.2.22
www.a.test.com. IN A 192.168.2.23
cat /etc/named.conf
zone "test.com" IN {
type master;
file "test.com.zone";
};
zone "a.test.com" IN {
type master;
file "a.test.com";
}; |
|