<p dir="ltr"><br>
Using .local is generally reserved for multicast DNS.</p>
<p dir="ltr">Don't do that.</p>
<p dir="ltr">On Nov 8, 2013 1:37 AM, "Guillaume Betous" <<a href="mailto:guillaume.betous@gmail.com">guillaume.betous@gmail.com</a>> wrote:<br>
><br>
> you must be right :<br>
><br>
> domain domain.local<br>
> nameserver <my.isp.ip.address1><br>
> nameserver <my.isp.ip.address2><br>
><br>
> 2013/11/8 Albert ARIBAUD <<a href="mailto:albert.aribaud@free.fr">albert.aribaud@free.fr</a>>:<br>
> > Le 08/11/2013 07:44, Guillaume Betous a écrit :<br>
> ><br>
> >> Hi !<br>
> >><br>
> >> I'm trying to setup my local network with a local domain (say<br>
> >> "domain.local").<br>
> >><br>
> >> In dnsmasq.conf :<br>
> >> - local=/domain.local/<br>
> >> - domain=domain.local<br>
> >> - expand_hosts<br>
> >><br>
> >> Only the server has a fixed IP address (192.168.0.11), all other use DNS :<br>
> >> DNS is based on machine hostname => this works great, all machine have<br>
> >> it's right IP address<br>
> >> e.g. :<br>
> >> - dhcp-host=foo,192.168.0.2,infinite<br>
> >> - dhcp-host=bar,192.168.0.30,infinite<br>
> >><br>
> >> On the different machine, the /etc/resolv.conf seems to be correctly<br>
> >> updated :<br>
> >> domain domain.local<br>
> >> search domain.local<br>
> >> nameserver 192.168.0.11<br>
> >><br>
> >><br>
> >> When I ping a computer, I have very different results following the test<br>
> >> case :<br>
> >><br>
> >>> From other computer, with single name => OK<br>
> >><br>
> >> ============================<br>
> >><br>
> >> guillaume@foo:~$ ping bar<br>
> >> PING bar.domain.local (192.168.0.30) 56(84) bytes of data.<br>
> >> 64 bytes from bar.domain.local (192.168.0.30): icmp_seq=1 ttl=64 time=110<br>
> >> ms<br>
> >> 64 bytes from bar.domain.local (192.168.0.30): icmp_seq=2 ttl=64 time=153<br>
> >> ms<br>
> >> 64 bytes from bar.domain.local (192.168.0.30): icmp_seq=3 ttl=64 time=78.1<br>
> >> ms<br>
> >><br>
> >>> From server, with single name => Not OK<br>
> >><br>
> >> ============================<br>
> >><br>
> >> guillaume@server:~$ ping bar<br>
> >> ping: unknown host bar<br>
> >><br>
> >>> From other computer or server, with full name => Not OK<br>
> >><br>
> >> =================================<br>
> >><br>
> >> guillaume@foo:~$ ping bar.domain.local<br>
> >> ping: unknown host bar.domain.local<br>
> >><br>
> >><br>
> >> Do you have an idea on what is wrong with my configuration ?<br>
> ><br>
> ><br>
> > Most probably the server is not configured to use itself as a DNS, and<br>
> > therefore relies on its /etc/hosts on for resolution; and as the names of<br>
> > the machine which dnsmasq serves are not in the server's /etc/hosts, they<br>
> > don't get resolved locally.<br>
> ><br>
> > What does /etc/resolv.conf contain on the server?<br>
> ><br>
> >> Thanks,<br>
> >><br>
> >> gUI<br>
> ><br>
> ><br>
> > Amicalement,<br>
> > --<br>
> > Albert.<br>
> ><br>
> > _______________________________________________<br>
> > Dnsmasq-discuss mailing list<br>
> > <a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
> > <a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
><br>
><br>
><br>
> --<br>
> Pour la santé de votre ordinateur, préférez les logiciels libres.<br>
> Lire son mail : <a href="http://www.mozilla-europe.org/fr/products/thunderbird/">http://www.mozilla-europe.org/fr/products/thunderbird/</a><br>
> Browser le web : <a href="http://www.mozilla-europe.org/fr/products/firefox/">http://www.mozilla-europe.org/fr/products/firefox/</a><br>
> Suite bureautique : <a href="http://www.libreoffice.org/download/">http://www.libreoffice.org/download/</a><br>
><br>
> _______________________________________________<br>
> Dnsmasq-discuss mailing list<br>
> <a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
> <a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</p>