Hi,
I've got DNSMasq running on machine 192.168.1.1, configured as follow :
Code:
domain=mydomain.local
dhcp-option=lan,3,192.168.1.1
dhcp-authoritative
dhcp-range=lan,192.168.1.100,192.168.1.179,255.255.255.0,0m
dhcp-host=00:19:21:ea:a5:16,build,192.168.1.150,infinite
expand-hosts
Notice the static lease for the build machine.
On my machine (XUbuntu 9.10, IP:192.168.1.134) I have /etc/resolv.conf set by DHCP :
Code:
# Generated by NetworkManager
domain mydomain.local
search mydomain.local
nameserver 192.168.1.1
Still on my machine I execute the following commands :
Code:
$ ping build
PING build.mydomain.local (192.168.1.150) 56(84) bytes of data.
64 bytes from build.mydomain.local (192.168.1.150): icmp_seq=1 ttl=64 time=8.43 ms
Code:
$ nslookup build.mydomain.local
Server: 192.168.1.1
Address: 192.168.1.1#53
Name: build.mydomain.local
Address: 192.168.1.150
Code:
$ ping build.mydomain.local
ping: unknown host build.mydomain.com
Why does the last ping fails ??
Thanks, Bruno