Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] name resolution


Hi all,

Is there an easy way to tell what name resolution scheme was used in order to resolve a host lookup:

eg:

ping node3.mydomain   --> search dns... not found,  search files...found

ping www.blah.com.au  --> search dns... found

That is, tracing the paths/actions defined in nsswitch.conf and what each action returned.

Regards,

Andy