[Dnsmasq-discuss] Can't ping when using FQDN

Guillaume Betous guillaume.betous at gmail.com
Fri Nov 8 06:44:10 GMT 2013

Hi !

I'm trying to setup my local network with a local domain (say "domain.local").

In dnsmasq.conf :
- local=/domain.local/
- domain=domain.local
- expand_hosts

Only the server has a fixed IP address (, all other use DNS :
DNS is based on machine hostname => this works great, all machine have
it's right IP address
e.g. :
- dhcp-host=foo,,infinite
- dhcp-host=bar,,infinite

On the different machine, the /etc/resolv.conf seems to be correctly updated :
domain domain.local
search domain.local

When I ping a computer, I have very different results following the test case :

>From other computer, with single name => OK

guillaume at foo:~$ ping bar
PING bar.domain.local ( 56(84) bytes of data.
64 bytes from bar.domain.local ( icmp_seq=1 ttl=64 time=110 ms
64 bytes from bar.domain.local ( icmp_seq=2 ttl=64 time=153 ms
64 bytes from bar.domain.local ( icmp_seq=3 ttl=64 time=78.1 ms

>From server, with single name => Not OK

guillaume at server:~$ ping bar
ping: unknown host bar

>From other computer or server, with full name => Not OK

guillaume at foo:~$ ping bar.domain.local
ping: unknown host bar.domain.local

Do you have an idea on what is wrong with my configuration ?



Pour la santé de votre ordinateur, préférez les logiciels libres.
Lire son mail : http://www.mozilla-europe.org/fr/products/thunderbird/
Browser le web : http://www.mozilla-europe.org/fr/products/firefox/
Suite bureautique : http://www.libreoffice.org/download/

More information about the Dnsmasq-discuss mailing list