1753767 Members
5576 Online
108799 Solutions
New Discussion юеВ

Name Resolution

 
Jim Booker
Advisor

Name Resolution

Using a static ip on RedHat 7.2 -
nslookup on a hostname that is NOT
in dns will not resolve from the /etc/host file. I have tried moving resolv.conf to a different name. My nsswitch.conf looks like this:
hosts: files nisplus dns
3 REPLIES 3
Christopher Caldwell
Honored Contributor

Re: Name Resolution

Did you try stopping/starting named?
Tim D Fulford
Honored Contributor

Re: Name Resolution

Hi

try to use nsquery

# nsquery hosts

This is more "verbose" about where it is resolving from than nslookup.

Tim
-