DNS resolves... but doesn't....
Tyler Aviss
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 (72.5.124.114) 56(84) bytes of data.
> $ ping volatile.debian.org
> PING volatile.debian.org (130.89.149.227) 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
> http://volatile.debian.org/debian-volatile/dists/lenny/volatile/non-free/i18n/Translation-en_CA.bz2
> Could not resolve 'volatile.debian.org'
>
> W: Failed to fetch
> http://download.virtualbox.org/virtualbox/debian/dists/lenny/Release.gpg
> 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
>
--
Tyler Aviss
Systems Support
LPIC/LPIC-2
(778) 890-0942
--
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
mailing list