Can't ping by hostname only by IP address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux