Can't ping by hostname only by IP address
Travis Zadikem
tzadikem at picosecond.com
Tue Feb 8 22:09:42 UTC 2005
If you add one of the other machines in your local /etc/hosts with its ip
address you should then be able to ping that machine by name.
-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com]On Behalf Of Dave Martini 1
Sent: Tuesday, February 08, 2005 3:03 PM
To: redhat-list at redhat.com
Subject: Can't ping by hostname only by IP address
I just installed RHEL WS 3.0 and I can ping other hosts in my subnet
by IP address but not by hostname.
The hosts file in my /etc/nsswitch.conf file looks like this
hosts: files dns
I have one IP address of one of my DNS servers in the /etc/resolv.conf
file.
But when I type
ping hostname
it says "unknown host"
Is there some other file I need to update?
Thanks a lot!
Dave Martini
LLNL
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list