I've got DNSMasq running on machine 192.168.1.1, configured as follow :
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 :
# Generated by NetworkManager
Still on my machine I execute the following commands :
$ 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
$ nslookup build.mydomain.local
$ ping build.mydomain.local
ping: unknown host build.mydomain.com
Why does the last ping fails ??