- 论坛徽章:
- 0
|
最近安装了Solaris 10 x86,发现网络方面的问题.通过nslookup可以找到主机和对应的IP,但是直接ping主机名就解析不了,ping IP是OK的,哪位大虾帮助小弟一下,跪谢!
Last login: Wed Jul 1 14:37:29 2009 from 10.182.114.187
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
bash-3.00# ping db10g
ping: unknown host db10g
bash-3.00# ping 10.182.112.73
10.182.112.73 is alive
-----------------------------------------------------以下是配置----------------------------------------------------
bash-3.00# cat /etc/resolv.conf
search cn.xxxxx.com
nameserver 10.182.122.37
nameserver 10.182.244.34
nameserver 146.56.237.50
bash-3.00# nslookup db10g
Server: 10.182.122.37
Address: 10.182.122.37#53
Name: db10g.cn.xxxxx.com
Address: 10.182.112.73
bash-3.00# cat /etc/defaultdomain
cn.xxxxx.com
bash-3.00# cat /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
10.182.112.64 aquarius loghost
10.182.112.64 aquarius.cn.xxxxx.com |
|