免费注册 查看新帖 |

Chinaunix

广告
  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: wanjinjack
打印 上一主题 下一主题

linux 8.0 DNS 配置问题 [复制链接]

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-22 06:20:00
21 [报告]
发表于 2004-02-20 11:36 |只看该作者

linux 8.0 DNS 配置问题

[root@linux5 etc]# cat resolv.conf
nameserver 192.168.1.210
nameserver 127.0.0.1
search dns.domain
domain domain
[root@linux5 etc]#


我是在dns服务器上本身运行的。都给加去了。


[root@linux5 X11]# ping www.domain
PING www (192.168.1.51) from 192.168.1.210 : 56(84) bytes of data.
64 bytes from www (192.168.1.51): icmp_seq=1 ttl=128 time=3.28 ms
64 bytes from www (192.168.1.51): icmp_seq=2 ttl=128 time=1.61 ms

--- www ping statistics ---
2 packets transmitted, 2 received, 0% loss, time 1004ms
rtt min/avg/max/mdev = 1.611/2.445/3.280/0.835 ms
[root@linux5 X11]# ping dns.domain
PING domain (192.168.1.210) from 192.168.1.210 : 56(84) bytes of data.
64 bytes from domain (192.168.1.210): icmp_seq=1 ttl=64 time=1.64 ms
64 bytes from domain (192.168.1.210): icmp_seq=2 ttl=64 time=0.105 ms
64 bytes from domain (192.168.1.210): icmp_seq=3 ttl=64 time=0.202 ms
64 bytes from domain (192.168.1.210): icmp_seq=4 ttl=64 time=0.346 ms
64 bytes from domain (192.168.1.210): icmp_seq=5 ttl=64 time=0.110 ms

--- domain ping statistics ---
5 packets transmitted, 5 received, 0% loss, time 4011ms
rtt min/avg/max/mdev = 0.105/0.480/1.640/0.586 ms

我也是9.0
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
>; dns.domain
Server:         192.168.1.210
Address:        192.168.1.210#53

** server can't find dns.domain: SERVFAIL
>; www.domain
;; connection timed out; no servers could be reached
>; localhost
Server:         192.168.1.210
Address:        192.168.1.210#53

Name:   localhost
Address: 127.0.0.1
>; dns
;; connection timed out; no servers could be reached
>;

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-22 06:20:00
22 [报告]
发表于 2004-02-20 11:41 |只看该作者

linux 8.0 DNS 配置问题

相关的文件我都配置上了

[root@linux5 etc]# cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               linux5 localhost.localdomain localhost
192.168.1.210           domain  dns.domain           domain   
192.168.1.51            www     www.domain
192.168.1.19            ftp     ftp.domain
[root@linux5 etc]# cat hosts.conf
order hosts,bind
multi on
nospoof on
alert on
[root@linux5 etc]#

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
23 [报告]
发表于 2004-02-20 11:42 |只看该作者

linux 8.0 DNS 配置问题

改改你的配置文件吧./var/named/那两个文件.

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-22 06:20:00
24 [报告]
发表于 2004-02-20 11:43 |只看该作者

linux 8.0 DNS 配置问题

我的与你的一样的怎么就不可以叱?急,,,,[root@linux5 etc]# nslookup 192.168.1.51
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server:         192.168.1.210
Address:        192.168.1.210#53

** server can't find 51.1.168.192.in-addr.arpa: SERVFAIL

[root@linux5 etc]# nslookup 192.168.1.210
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server:         192.168.1.210
Address:        192.168.1.210#53

** server can't find 210.1.168.192.in-addr.arpa: SERVFAIL

[root@linux5 etc]# nslookup 127.0.0.1   
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server:         192.168.1.210
Address:        192.168.1.210#53

1.0.0.127.in-addr.arpa  name = localhost.

[root@linux5 etc]#


真郁闷。。。。。。。。。。。。。。

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-22 06:20:00
25 [报告]
发表于 2004-02-20 11:55 |只看该作者

linux 8.0 DNS 配置问题

那两个文件,我还对照named.local文件改的。
看有没有不同之处,就那还不行。

找了些资料都是这样的方法呀。
别人行,俺咱不行,,,,,,,,,  

请大虾们给看一下配置文件那不对,我都给贴上去了。。。。

论坛徽章:
0
26 [报告]
发表于 2004-02-20 12:42 |只看该作者

linux 8.0 DNS 配置问题

问一下,你的named 服务正常吗?
我的服务有这样的问题:
启动正常,但关闭的时候问题来了,service named stop没有结果
使用nmap localhost,发现domain是没有了
但是看ps,发现还有这个进程
非要用 killall named才能关
然后要用再service named start把它起来
我以前做DNS实验老是出问题,后来发现是这个毛病
而且我买的几套盘都有这样的问题(不过都是D版)
你会不会也是这个毛病啊?

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
27 [报告]
发表于 2004-02-20 12:44 |只看该作者

linux 8.0 DNS 配置问题

那是9.0中bind的bug.

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-22 06:20:00
28 [报告]
发表于 2004-02-20 12:54 |只看该作者

linux 8.0 DNS 配置问题

[root@linux5 root]# /etc/rc.d/init.d/named start
启动 named:                                               [  确定  ]
[root@linux5 root]# /etc/rc.d/init.d/named stop
停运 named:
[root@linux5 root]# /etc/rc.d/init.d/named start
启动 named:                                               [  确定  ]
[root@linux5 root]#

我的显示一切正常!

哪通过什么方法可测试通过叱?
有没有补丁、

论坛徽章:
0
29 [报告]
发表于 2004-02-20 12:58 |只看该作者

linux 8.0 DNS 配置问题

嘻嘻~
你的服务没有正常停止没有那个 [确定]
把named给killall了,再把它start,然后测试看看.

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-22 06:20:00
30 [报告]
发表于 2004-02-20 13:23 |只看该作者

linux 8.0 DNS 配置问题

对,是没有任何提示,按你的方法做了一下还是不行。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP