sco unix 原来没有配置 /etc/resolv.conf
ftp 和 te.net 都很正常。
编辑 /etc/resolv.conf ,加入 nameserver xx.xx.xx.xx 后
客户机 ftp 不能登入, telnet 也变得很久才提示 login:
这是咋回事。怎么解决使用 dns nameserver ?
cutegirl 回复于:2004-09-22 21:14:44 |
是呀,各位高手帮忙看看这是怎么回事呀? |
CNL 回复于:2004-09-22 23:53:00 |
你之所以慢怕是先去了外网的DNS服务器解析你的目标地址了,
如果熟,在/etc/resolv.conf找有无hostresorder ...的行,有则改无则加: hostresorder local nis bind 这样先找/etc/hosts,再NIS,最后去DNS服务器 有资料讲也可直接编辑/etc/host.conf, 把order顺序确认为先/etc/hosts再DNS服务的顺序: order hosts,bind,.... |
cutegirl 回复于:2004-09-23 10:54:59 |
真是高手,谢谢。 |
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/