[Cialug] nslookup works but ping cannot resolve

Jeffrey Ollie jeff at ocjtech.us
Thu Feb 7 15:39:02 CST 2008


On 2/7/08, Nathan Stien <nathanism at gmail.com> wrote:
>
> Does anyone out there know what might cause a system to be able to
> resolve a hostname with nslookup (and `host`) but not with programs
> that use gethostbyname()?

Check the contents of /etc/hosts and /etc/nsswitch.conf.

Jeff


More information about the Cialug mailing list