Comment 7 for bug 999725

Revision history for this message
Nathan Stratton Treadway (nathanst) wrote : Re: [Bug 999725] Re: broken start-up dependencies for ntp

On Thu, May 17, 2012 at 18:43:59 -0000, Paul Crawford wrote:
> So ping is able to perform the name-to-IP conversion fine, but host
> and nslookup both fail!

Right, host and nslookup both (attempt to) do DNS queries directly,
while ping does the lookup using libc6 library routines...

So, what do you get from:

  $ ls -l /etc/nsswitch.conf
  $ cat /etc/nsswitch.conf

(Also, does /etc/hosts contain anything besides the default lines?)

> Other 'normal' programs seem to perform address lookup OK (e.g.
> entering "www.google.com" in firefox, or even ntp if restarted later)
> so there is something bizarre about the network management.

You mentioned earlier that you had NIS installed on this machine, so I'm
guessing the behavior you are seeing is related to that, but I'm not
personally very familiar with using NIS for "host" information.....

     Nathan