DNS resolves... but doesn't....
tjaviss-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Tue Nov 10 21:20:48 UTC 2009
I found it.
Apparently my recently configured system didn't like this in
"nsswitch.conf" copied from one of the other servers (though the have
the same setup):
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
I worked after I changed that to:
files mdns4_minimal dns
So it's probably a bug/misconfiguration related to MDNS, which now
seems to be a default part of nsswitch's config, though I don't
remember that being so on earlier versions of debian.
I'll probably just remove the mdns stuff entirely as it doesn't really
seem to be serving a valid purpose anymore. However, I do find it odd
that "ping" resolved names properly, but perhaps it doesn't use
nsswitch? Maybe it's a libc bug that cropped up after I updated last.
On Tue, Nov 10, 2009 at 10:06 AM, Tyler Aviss <tjaviss-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> Here's a weird one
> I'm setting up a new box, and I know I must have messed something up
> along the way, but for the life of me I can't figure out what.
> My /etc/resolv.conf is correct
> I'm not running bind or nscd
> I've blacklisted IPV6
> When I do a "ping" or a "dig"... my DNS happily resolves properly:
> $ ping download.virtualbox.org
> PING dlc.sun.com (126.96.36.199) 56(84) bytes of data.
> $ ping volatile.debian.org
> PING volatile.debian.org (188.8.131.52) 56(84) bytes of data.
> However, any other commands (Iinks, wget, apt-get, scp, ssh) can't
> seem to resolve DNS:
> W: Failed to fetch
> Could not resolve 'volatile.debian.org'
> W: Failed to fetch
> Could not resolve 'download.virtualbox.org'
> Anyone know what might be up with this?
> The Toronto Linux Users Group. Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy