[lug] Debian App DNS Issues

Zan Lynx zlynx at acm.org
Wed Oct 29 16:49:49 MDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Starkey wrote:
> Zan Lynx wrote:
>> I had a problem recently on a Debian server with very slow SSH
>> connection start and it turned out to be caused by mdns (multicast DNS)
>> which is provided by the Avahi daemon.  In my case the problem was Avahi
>> failing a lookup and timing out, but possibly you have the mdns line in
>> your /etc/nsswitch.conf but uninstalled Avahi?
>>   
> That sounds like it's getting closer to what I remember with regard to
> the package I installed. I gave this a try and it didn't work:
> 
> From nssswitch.conf I changed:
> 
> hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
> 
> to
> 
> hosts:          files [NOTFOUND=return] dns
> 
> and restarted Thunderbird and it won't resolve hostnames. I set the
> nsswitch.conf file back to the way it was and checked that avahi was
> running:
> 
> ps aux | grep avahi
> avahi     3374  0.0  0.0  28632  1512 ?        Ss   13:40   0:00
> avahi-daemon: running [desk1.local]
> avahi     3375  0.0  0.0  28504   504 ?        Ss   13:40   0:00
> avahi-daemon: chroot helper
> 
> And it didn't fix the issue.
> 
> Thanks for the suggestion, though.

Hey, don't you need dns to be BEFORE [NOTFOUND=return]?  If not dns,
then you need something like lwres (my favorite, which needs the lwresd
(light-weight resolver, a BIND based cache resolver)).
- --
Zan Lynx
zlynx at acm.org

"Knowledge is Power.  Power Corrupts.  Study Hard.  Be Evil."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkI6I0ACgkQolqWs/Y4NLwCcwCfbA9nHKQr5RKhLgYDHCHY+ciP
3/8An157bN0DPwG4/8SYsYBjW1ZKO8e9
=jQoj
-----END PGP SIGNATURE-----



More information about the LUG mailing list