暂无图片
分享
BBK
2019-12-24
在集群环境中 nslookup scan_name 报;; conection timed out; no servers could be reached 正常吗?不是应该解释/etc/hosts里的IP吗

centos6 在集群环境中 nslookup scan_name 报;; conection timed out; no servers could be reached 正常吗?不是应该解释/etc/hosts里的IP吗

收藏
分享
4条回答
默认
最新
zouxiang
nslookup fails for normal users with error : connection timed out (Doc ID 1667077.1)
暂无图片 评论
暂无图片 有用 0
BBK

SOLUTION
The nslookup(1) requires to have read premission on the file /etc/resolv.conf to be capable to read the DNS client configuration.

The permissions on that file may get corrected by applying the chmod(1) command to that file.

Example:

chmod a+r /etc/resolv.conf

ls -l /etc/resolv.conf

-rw-r–r-- 1 root root 45 Jan 28 15:51 /etc/resolv.conf
:
权限是正确的 644

暂无图片 评论
暂无图片 有用 0
许超

你要确认你是否使用了dns解析scanip,还是通过hosts解析的

暂无图片 评论
暂无图片 有用 0
BBK
问题已关闭: 问题已经得到解决
暂无图片 评论
暂无图片 有用 0
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏