免费注册 查看新帖 |

Chinaunix

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

HP-UX的DNS问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-20 18:03 |只看该作者 |倒序浏览
现在发现在其他机器ftp 192.168.13.1的时候,连接就非常的慢,ftp 192.168.13.2的时候就没这个问题,后发现删除192.168.13.1的etc/resolv.conf就好了,但是 192.168.13.2也是一样的配置就没这个问题,具体配置如下
etc/nsswitch.conf里配置
hosts:files [NOTFOUND=continue] dns
etc/hosts里配置
127.0.0.1       localhost       loopback
192.168.13.1    TEST1   test1.boss.nm
etc/resolv.conf 里配置
meserver 192.168.13.5  
本来应该现找hosts文件,然后再去DNS服务器找
但是执行
TEST1%nslookup 192.168.13.1
*** Can't find server name for address 192.168.13.1: Server failed
*** Default servers are not available
Using /etc/hosts on:  JFAPP3

looking up FILES
Name:    JFAPP3
Address:  192.168.13.1
是先去DNS找了。

奇怪的是,在另一台机器上就没这个问题
etc/nsswitch.conf里配置
hosts:files [NOTFOUND=continue] dns
etc/hosts里配置
127.0.0.1       localhost       loopback
192.168.13.2    TEST2   test2.boss.nm
resolv.conf 里配置
meserver 192.168.13.5  
这个就先找了文件,
TEST1%nslookup 192.168.13.2
nslookup 192.168.13.2
Using /etc/hosts on:  YZDB3

looking up FILES
Trying DNS
***  can't find 192.168.13.2 No response from server
那位大虾能告诉小弟原因,感激不尽

论坛徽章:
0
2 [报告]
发表于 2006-07-21 16:13 |只看该作者
顶起来,没人知道原因?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP