host versus nslookup

listmail listmail at entertech.com
Thu Oct 13 06:05:30 UTC 2011


On Thu, 13 Oct 2011 03:33:30 +0700, Fajar A. Nugraha wrote
> If you're concern about what address programs gets when they resolve
> host names, then getent is a better choice as it also respects
> nsswitch.conf and hosts file.
> 
According to the (almost useless) manpage for getent, all it does is lookups
in local files, not name resolution.

I can see how this would be useful if you were not using DNS, but....????

What am I missing here?

Thanks,
--Bill



More information about the bind-users mailing list