resolving .local addresses

Bill Moseley moseley at
Sat Jun 27 05:42:33 UTC 2009

I'm moving to zeronconf discovery for my host names on the LAN.

I added search paths for my domain and also "local".

$ cat /etc/resolv.conf
search local

"bumby2" has a zeroconf host name bumby2.local, so with the above I see:

$ host -v bumby2
Trying ""
Trying "bumby2.local"
Trying "bumby2"
Host bumby2 not found: 3(NXDOMAIN)
Received 99 bytes from in 17 ms


$ ping bumby2.local
PING bumby2.local ( 56(84) bytes of data.
64 bytes from bumby2.local ( icmp_seq=1 ttl=64 time=1.68 ms

$ cat /etc/nsswitch.conf  | grep hosts
hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

Tried changing the order, but no luck.  Anyone know if I can get host names
qualified with .local?

Bill Moseley
moseley at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list