resolving .local addresses

Bill Moseley moseley at hank.org
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
domain hank.org
search hank.org local
nameserver 192.168.1.1

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

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

Yet,

$ ping bumby2.local
PING bumby2.local (192.168.1.5) 56(84) bytes of data.
64 bytes from bumby2.local (192.168.1.5): 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 hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090626/d606d2f3/attachment.html>


More information about the ubuntu-users mailing list