- 论坛徽章:
- 0
|
在solaris 9 中配置的。
options {
directory "/usr/local/named";
};
acl "cernet" {
162.105.0.0/16;
166.111.0.0/16;
202.112.128.0/17;
202.113.0.0/16;
202.204.0.0/16;
210.31.0.0/16;
211.68.0.0/16;
211.71.0.0/16;
211.81.0.0/16;
211.82.0.0/16;
219.242.0.0/16;
219.243.0.0/17;
219.243.128.0/18;
219.243.192.0/19;
219.224.0.0/15;
219.226.0.0/16;
222.28.0.0/14;
202.117.0.0/16;
202.200.0.0/15;
210.26.0.0/15;
218.195.0.0/16;
219.244.0.0/14;
222.23.0.0/16;
222.24.0.0/15;
202.115.0.0/16;
202.202.0.0/15;
210.40.0.0/15;
211.83.0.0/16;
218.194.0.0/16;
219.221.0.0/16;
222.18.0.0/15;
202.38.192.0/18;
202.116.0.0/16;
202.192.0.0/15;
210.36.0.0/15;
211.66.0.0/16;
218.192.0.0/16;
219.222.0.0/15;
219.227.0.0/16;
222.16.0.0/15;
202.114.0.0/16;
202.196.0.0/15;
210.42.0.0/15;
211.69.0.0/16;
211.67.0.0/16;
211.84.0.0/15;
218.196.0.0/14;
222.20.0.0/15;
222.22.0.0/16;
202.38.64.0/21;
202.119.0.0/16;
202.194.0.0/15;
210.44.0.0 /15;
210.28.0.0/15;
211.64.0.0/15;
211.70.0.0/16;
211.86.0.0/15;
219.218.0.0/15;
219.230.0.0/15;
222.192.0.0/14;
202.120.0.0/15;
210.32.0.0/14;
211.80.0.0/16;
218.193.0.0/16;
219.220.0.0/16;
219.228.0.0/15;
202.118.0.0/16;
202.198.0.0/14;
210.46.0.0/15;
210.30.0.0/16;
219.216.0.0/15;
222.26.0.0/15;
202.38.96.0/20;
202.38.184.0/20;
202.112.0.0/18;
210.25.128.0/18;
219.243.224.0/19;
};
acl "cnc" {any;};
zone "." IN {
type hint;
file "named.ca";
};
view "cernet" {
match-clients {"cernet";};
zone "a.edu.cn" IN {
type master;
file "a.edu.cn.zone";
allow-update { none; };
};
zone "x.x.211.in-addr.arpa" IN {
type master;
file "a.edu.cn.local";
allow-update { none; };
};
};
view "cnc" {
match-clients {any;};
zone "a.edu.cn" IN {
type master;
file "cnc.a.edu.cn.zone";
allow-update { none; };
};
};
zone "x.82.211.in-addr.arpa" IN {
type master;
file "a169.edu.cn.local";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "localhost.local";
allow-update { none; };
};
key "rndc-key" {
algorithm hmac-md5;
secret "E6mMoUR88RCK2JW7si+GVg==";
};
options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};
对应的配置文件也查过了,没问题。另外,更换客户端的DNS服务器地址教育网和网通的都换了。也清除DNS缓存了,可以还是只能解析到一个IP地址。怎么回事呢。我怀疑是named.conf 的问题。各位好心的朋友帮我看看是什么原因,谢谢了。 |
|