Public bug reported: Binary package hint: libnss-mdns
If you try to do a ssh foo.local or target your browser at http://foo.local you will be greeted with a long delay before it finally "goes". This is due to Ubuntu using the the module with both ipv6 and ipv4. This is frowned upon by upstream: http://0pointer.de/lennart/projects/nss-mdns/ "Due to the fact that most mDNS responders only register local IPv4 addresses via mDNS, most people will want to use libnss_mdns4.so.2 exclusively. Using libnss_mdns.so.2 or libnss_mdns6.so.2 in such a situation causes long timeouts when resolving hosts since most modern Unix/Linux applications check for IPv6 addresses first, followed by a lookup for IPv4." Ubuntu should use mdns4 exclusivlely. IPv6 is awesome, but the mDNS responders out there generally do not support this and for now it just adds an annoying wait. /etc/nsswitch.conf should have -hosts: files dns mdns +hosts: files dns mdns Another suggestion by upstream is to have: hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 Which uses the minimal version which refuses to do anything not ending in .local -- this takes a burden off of dns servers. Here is a before and after: After: [EMAIL PROTECTED]:~$ time getent hosts zippity.local 192.168.1.103 zippity.local real 0m0.016s user 0m0.004s sys 0m0.008s Before: [EMAIL PROTECTED]:~$ time getent hosts zippity.local 192.168.1.103 zippity.local real 0m10.206s user 0m0.004s sys 0m0.000s ** Affects: nss-mdns (Ubuntu) Importance: Untriaged Status: Unconfirmed -- Get rid of five second delay when resolving hostnames https://launchpad.net/bugs/54416 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs