免费注册 查看新帖 |

Chinaunix

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

[学习求职] 对于由/etc/resolv.conf引起的telnet、ftp、CDE使用不正常的笔记 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-06 16:51 |只看该作者 |倒序浏览
接触过AIX一小段时间了,现在开始认真学学
论坛中也看到了有人遇到telnet、ftp登陆特别慢的情况,但是登陆上去后一切正常的现象。我昨天新装的AIX5.3也遇到了这个问题,通过搜索论坛中的帖子,有人指导说如果不需要DNS,就把/etc/resolv.conf删除。
下面是我的笔记:

/etc/resolv.conf  文件为空,无任何内容,移除此文件后,telnet、ftp与CDE均正常,放回来,telnet、ftp登陆非常慢,经常超时,CDE不正常。

故障原因:建立了/etc/resolv.conf, 表示需要配备正确的DNS,如果DNS的IP地址和Domain name没有配置正确的话,就会产生上述现象。

故障解决:1.如果不需要DNS,可以删除/etc/resolv.conf,一切正常
               2. #smitty mktcpip
                选择需要配置的网卡,设置好正确的Domain Name Server的IP和Nane
                然后故障解决。

问题是解决了。 但是有谁知道 域名解析带来的问题为什么会造成telnet、ftp、CDE的异常,不懂。

[ 本帖最后由 falcon117 于 2006-7-6 16:57 编辑 ]

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
2 [报告]
发表于 2006-07-06 21:59 |只看该作者
域名解析需要得到域名服务器的回应后,才继续以下的动作,如果dns服务器很慢或是忙,
那将等待一段时间,所以如果没有配置域名服务器,而resolv为空,AIX将使用本机作为DNS服务器,
所以还是删掉resolv文件

论坛徽章:
0
3 [报告]
发表于 2006-07-07 02:30 |只看该作者
呵呵,你的ID就带DNS哦

论坛徽章:
1
操作系统版块每日发帖之星
日期:2015-11-09 06:20:00
4 [报告]
发表于 2006-07-07 08:43 |只看该作者
发表于: 2006-7-7 02:30    主题:   [引用]  [投诉] [快速回复]  


--------------------------------------------------------------------------------

呵呵,你的ID就带DNS哦



__________________________________

什么意思啊?

论坛徽章:
0
5 [报告]
发表于 2006-07-07 08:47 |只看该作者

但是telnet、ftp会直接以IP地址为目标

但是telnet、ftp直接输入IP地址为目标,需要解析吗?
还有CDE也是,如果resolv.conf不正确,登陆CDE进去后只有一个简单的终端可用还有一个出错窗口,其他什么都没有。又是为什么呢?

[ 本帖最后由 falcon117 于 2006-7-7 08:49 编辑 ]

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
6 [报告]
发表于 2006-07-07 11:49 |只看该作者
原帖由 feiaix 于 2006-7-7 08:43 发表
发表于: 2006-7-7 02:30    主题:   [引用]  [投诉] [快速回复]  


--------------------------------------------------------------------------------

呵呵,你的ID就带DNS哦



____________ ...


农哥说我``````` ` `
嘿嘿````虽然有个dns,但是不懂`````` `

论坛徽章:
0
7 [报告]
发表于 2006-07-07 12:02 |只看该作者
需要反向解析的,所以,即使用的IP地址,它也需要查解吸名字

论坛徽章:
0
8 [报告]
发表于 2006-07-07 14:36 |只看该作者

反向解析,谢谢!

感谢 老农的回答!

论坛徽章:
0
9 [报告]
发表于 2006-07-11 08:33 |只看该作者

无意中在《Aix 5L Installation And System Recovery》找到部分原因了

TCP/IP problems
Communication problems with TCP/IP are, in themselves, a large topic, and
detailed coverage is beyond the scope of this publication. However, the following
set of problems is quite common with systems that have just been installed.
-----
  If either the DNS is missing or it is not configured correctly, you will not be
able to ping other computers by host name, provided that you do not want to
use the /etc/hosts file. Check the DNS setting by either looking in
/etc/resolv.conf or checking the DNS setting using the SMIT mktcpip fastpath.
-----
  A similar problem occurs when the system hangs if you log in using the CDE.
As the host name is used in the DISPLAY environment, a connection cannot
be established to the X-Server. This is especially critical for logins over the
network from X-Terminals.

论坛徽章:
0
10 [报告]
发表于 2011-03-17 17:12 |只看该作者
遇到相同问题,CU帮我解决了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP