For me this change (minimal change, only adding "[NOTFOUND=return]" after dns, 
not changing the order) in /etc/nsswitch.conf fixed my problem of slow SSH 
connecting in internal network (where UseDNS=no in sshd_config did not help):
-hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
+hosts:          files mdns4_minimal [NOTFOUND=return] dns [NOTFOUND=return] 
mdns4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/94940

Title:
  mdns listed in nsswitch.conf causes excessive time  for dns lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/94940/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to