当前位置: 技术问答>linux和unix
dns问题
来源: 互联网 发布时间:2014-12-10
本文导语: 为什么ping ip地址能通,而ping 域名时发送100个数据包,但只能收到几个或几十个。 应该是dns有问题了,但是处在什么地方? dns1中: /var/log/messages 中 Aug 18 08:14:49 dns1 rpc.statd[678]: gethostbyname error for ^X?縙X?縙Z?...
为什么ping ip地址能通,而ping 域名时发送100个数据包,但只能收到几个或几十个。
应该是dns有问题了,但是处在什么地方?
dns1中:
/var/log/messages 中
Aug 18 08:14:49 dns1 rpc.statd[678]: gethostbyname error for ^X?縙X?縙Z?縙Z??8x%8x%8x%8x%8x%8x%8x%8x%8x%62716x%hn%51859x%hn220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220
Aug 18 09:13:57 dns1 rpc.statd[678]: gethostbyname error for ^X?縙X?縙Z?縙Z??8x%8x%8x%8x%8x%8x%8x%8x%8x%62716x%hn%51859x%hn220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220
Aug 19 09:32:12 dns1 named[1350]: dns_master_load: chuntangjiu.com:12: ignoring out-of-zone data (dns1.chungtangjiu.com)
Aug 19 09:32:12 dns1 named[1350]: dns_master_load: chuntiantangjiu.com:12: ignoring out-of-zone data (dns1.chungtiantangjiu.com)
Aug 19 09:32:13 dns1 named[1350]: dns_master_load: hrbtianbao.com:12: ignoring out-of-zone data (dns1.hrbtainbao.com)
dns2中
/var/log/messages 没有特别的纪录
在ping 路由地址时提示 TTL expired in transit
在ping dns1地址时提示 TTL expired in transit
在ping dns2地址时提示 TTL expired in transit
应该是dns有问题了,但是处在什么地方?
dns1中:
/var/log/messages 中
Aug 18 08:14:49 dns1 rpc.statd[678]: gethostbyname error for ^X?縙X?縙Z?縙Z??8x%8x%8x%8x%8x%8x%8x%8x%8x%62716x%hn%51859x%hn220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220
Aug 18 09:13:57 dns1 rpc.statd[678]: gethostbyname error for ^X?縙X?縙Z?縙Z??8x%8x%8x%8x%8x%8x%8x%8x%8x%62716x%hn%51859x%hn220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220220
Aug 19 09:32:12 dns1 named[1350]: dns_master_load: chuntangjiu.com:12: ignoring out-of-zone data (dns1.chungtangjiu.com)
Aug 19 09:32:12 dns1 named[1350]: dns_master_load: chuntiantangjiu.com:12: ignoring out-of-zone data (dns1.chungtiantangjiu.com)
Aug 19 09:32:13 dns1 named[1350]: dns_master_load: hrbtianbao.com:12: ignoring out-of-zone data (dns1.hrbtainbao.com)
dns2中
/var/log/messages 没有特别的纪录
在ping 路由地址时提示 TTL expired in transit
在ping dns1地址时提示 TTL expired in transit
在ping dns2地址时提示 TTL expired in transit
|
TTL expired in transit
90%的机会是路由循环了,联系你的上级网管看看。
另外PING的原理是先把域名解析成IP,然后一直PING IP的,并不是每次都
去做gethostbyname()的。
又是木易兄呢,:) 判断是否路由循环正是用traceroute
90%的机会是路由循环了,联系你的上级网管看看。
另外PING的原理是先把域名解析成IP,然后一直PING IP的,并不是每次都
去做gethostbyname()的。
又是木易兄呢,:) 判断是否路由循环正是用traceroute
|
1、你本机的dns设置正确吗?
2、你用traceroute跟踪一下到dns1/dns2的路径,看是什么样的?
2、你用traceroute跟踪一下到dns1/dns2的路径,看是什么样的?
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。