1754252 Members
3690 Online
108812 Solutions
New Discussion

nslookup concern

 
simma100
Occasional Contributor

nslookup concern

Hello,

 

if i do the nslookup command , it will search the DNS then NIS then LDAP.  so we have to put the entry in the /etc/nssswitch.conf file right ?. Please let me know on that.

1 REPLY 1
Bill Hassell
Honored Contributor

Re: nslookup concern

nslookup doesn't provide a clear explanation of the search steps. Use nsquery instead:

 

nsquery hosts 1.2.3.4

or

nsquery hosts abc.domain.com

 

The rules in nsswitch.conf will be displayed as nsquery follows the list.

 



Bill Hassell, sysadmin