由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - about DNS
相关主题
How do i get a list of all computers?help me! Re: how to configure networking after installation
Re: help me! Re: how to configure networking after installationHelp! unix problem
who knows how to use nslookup?how to write robort in perl w/out expect?
send_mailhow to find teh net connection info in UNIX?
why?bash prompt 一问
求助: DHCP设置on solarisShell Script Question about Hostname
菜鸟求教了登陆到别的主机上运行realplay,如何将图象显示在本机
怎么合法设置hostname?[转载] hostname 问题
相关话题的讨论汇总
话题: dns话题: after话题: now话题: nslookup话题: use
进入Unix版参与讨论
1 (共1页)
w***s
发帖数: 21
1
After install a new sun workstation, I change the /etc/resolv.conf and add the nameserver to the exists DNS server.
Now I can use nslookup to lookup the ip of a hostname, but if I use ping, I
got the error message said unknow host?
who can tell me what's wrong?
Thanks!
p******f
发帖数: 162
2

make sure you have something like this:
hosts: files dns
in your /etc/nsswitch.conf

【在 w***s 的大作中提到】
: After install a new sun workstation, I change the /etc/resolv.conf and add the nameserver to the exists DNS server.
: Now I can use nslookup to lookup the ip of a hostname, but if I use ping, I
: got the error message said unknow host?
: who can tell me what's wrong?
: Thanks!

1 (共1页)
进入Unix版参与讨论
相关主题
[转载] hostname 问题why?
THE DESKTOP MESSAGING SYSTEM COULD NOT BE STARTED求助: DHCP设置on solaris
How to read Chinese in telnet from unix菜鸟求教了
System Environment variables in Perl怎么合法设置hostname?
How do i get a list of all computers?help me! Re: how to configure networking after installation
Re: help me! Re: how to configure networking after installationHelp! unix problem
who knows how to use nslookup?how to write robort in perl w/out expect?
send_mailhow to find teh net connection info in UNIX?
相关话题的讨论汇总
话题: dns话题: after话题: now话题: nslookup话题: use