- 论坛徽章:
- 0
|
各位大侠您们好:
小弟最近遇到一个头疼的问题!
我们公司主要是从网通进行DNS解析的!现在有几个网站想从教育网进解析!我便做了转发:
zone "cctv.com" {
type forward;
forwarders { 121.194.2.3; };
};
发现不起任何的作用!
下面小弟把named.conf给大家看一下!帮忙分析一下!谢谢!
// generated by named-bootconf.pl
options {
directory "/var/named";
version "unsupported onthis platfoem";
recursive-clients 35000;
allow-query { 127.0.0.1;211.162.16.0/20;211.162.80.0/23;211.162.104.0/23;211.162.200.0/22;220.114.80.0/20;220.114.96.0/20;22
0.114.112.0/20; };
# forward first;
forwarders { 221.6.4.66; };
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "njgwbn.com.cn" IN {
type master;
file "named.njgwbn.com.cn";
};
zone "njgwbn.net.cn" IN {
type master;
file "named.njgwbn.net.cn";
};
zone "gwbnnj.net.cn" IN {
type master;
file "named.gwbnnj.net.cn";
};
zone "31.162.211.in-addr.arpa" IN {
type master;
file "named.211.162.31";
};
zone "106.114.220.in-addr.arpa" IN {
type master;
file "named.220.114.106";
};
zone "248.27.10.in-addr.arpa" IN {
type master;
file "named.10.27.248";
};
zone "0.27.10.in-addr.arpa" IN {
type master;
file "named.10.27.0";
};
zone "249.27.10.in-addr.arpa" IN {
type master;
file "named.10.27.249";
};
zone "ednet.com.cn" IN {
type master;
file "named.ednet.com.cn";
};
zone "mztax.com" IN {
type master;
file "named.njfully.com";
};
zone "njds.cn" {
type forward;
forwarders { 202.96.102.3; };
};
zone "cctv.com" {
type forward;
forwarders { 121.194.2.3; };
}; |
|