免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1918 | 回复: 2
打印 上一主题 下一主题

[DNS] DNS服务器格了重装,怎么不能解析了呢? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-29 09:40 |只看该作者 |倒序浏览
公司有两台DNS服务器 都经过授权,最近有台服务器出了问题 格了重装DNS做的和原来一样,怎么就不能解析了呢  文件都是备份过来的, 是不是授权出了问题?!
/etc/named.conf文件:
// generated by named-bootconf.pl

options {
        directory "/var/named";
        /*
         * 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;

          recursion yes;

};

//
// 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 "zhjjy.com.cn" IN {
        type master;
        file "zhjjy.com.cn.zone";
        allow-update { none; };
};

/var/named/zhjjy.com.cn.zone:
$TTL    86400
@               IN SOA  zhjjy.com.cn. root. (
                                        42              ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum
        IN NS   zhjjy.com.cn.
        IN A    219.232.120.47
ns1     IN A    219.232.120.47
ns2     IN A    219.232.120.48
www     IN A    219.232.120.48

BIND版本:
[root@localhost named]# rpm -qa bind
bind-9.2.1-16

[root@localhost named]# service named status
number of zones: 11
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
server is up and running


高手帮看下 哪里有问题 named.conf文件我没帖全 还有很多ZONE就没帖出来了
C:\>ping www.zhjjy.com.cn -t
Ping request could not find host www.zhjjy.com.cn. Please check the name and try
again.

C:\>

[ 本帖最后由 dotgame 于 2006-7-29 12:35 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-07-29 16:31 |只看该作者
装完之后 在/var/named下的文件除了CACHING-NAMESERVER包产生的文件所有者是named之外
其他的 ZONE文件的所有者都是root,IP没有变化,文件都是从原来的服务器上备份下来 在COPY回来的.
实在是搞不懂了

[ 本帖最后由 dotgame 于 2006-7-29 16:32 编辑 ]

论坛徽章:
3
IT运维版块每日发帖之星
日期:2016-01-18 06:20:00IT运维版块每日发帖之星
日期:2016-01-19 06:20:00IT运维版块每周发帖之星
日期:2016-03-07 16:27:44
3 [报告]
发表于 2006-07-29 16:47 |只看该作者

回复 2楼 dotgame 的帖子

在DNS服务器上用nslookup之类的工具检测自己,看看是否能够解析出你的域名。如果能出结果,说明你的服务器配置是正确的。剩下的就是检查网络和注册信息是否争取了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP