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

Dave Taht dave.taht at gmail.com
Fri Nov 8 10:35:55 GMT 2013


On Nov 8, 2013 2:08 AM, "Guillaume Betous" <guillaume.betous at gmail.com>
wrote:
>
> what kind of local domain name can I use ? I thought the .local was
> reserved for local networks...
See

http://en.wikipedia.org/wiki/.local

>
> gUI
>
> 2013/11/8 Dave Taht <dave.taht at gmail.com>:
> >
> > Using .local is generally reserved for multicast DNS.
> >
> > Don't do that.
> >
> > On Nov 8, 2013 1:37 AM, "Guillaume Betous" <guillaume.betous at gmail.com>
> > wrote:
> >>
> >> you must be right :
> >>
> >> domain domain.local
> >> nameserver <my.isp.ip.address1>
> >> nameserver <my.isp.ip.address2>
> >>
> >> 2013/11/8 Albert ARIBAUD <albert.aribaud at free.fr>:
> >> > Le 08/11/2013 07:44, Guillaume Betous a écrit :
> >> >
> >> >> 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 (192.168.0.11), 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,192.168.0.2,infinite
> >> >> - dhcp-host=bar,192.168.0.30,infinite
> >> >>
> >> >> On the different machine, the /etc/resolv.conf seems to be correctly
> >> >> updated :
> >> >> domain domain.local
> >> >> search domain.local
> >> >> nameserver 192.168.0.11
> >> >>
> >> >>
> >> >> 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 (192.168.0.30) 56(84) bytes of data.
> >> >> 64 bytes from bar.domain.local (192.168.0.30): icmp_seq=1 ttl=64
> >> >> time=110
> >> >> ms
> >> >> 64 bytes from bar.domain.local (192.168.0.30): icmp_seq=2 ttl=64
> >> >> time=153
> >> >> ms
> >> >> 64 bytes from bar.domain.local (192.168.0.30): 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 ?
> >> >
> >> >
> >> > Most probably the server is not configured to use itself as a DNS,
and
> >> > therefore relies on its /etc/hosts on for resolution; and as the
names
> >> > of
> >> > the machine which dnsmasq serves are not in the server's /etc/hosts,
> >> > they
> >> > don't get resolved locally.
> >> >
> >> > What does /etc/resolv.conf contain on the server?
> >> >
> >> >> Thanks,
> >> >>
> >> >> gUI
> >> >
> >> >
> >> > Amicalement,
> >> > --
> >> > Albert.
> >> >
> >> > _______________________________________________
> >> > Dnsmasq-discuss mailing list
> >> > Dnsmasq-discuss at lists.thekelleys.org.uk
> >> > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> >>
> >>
> >>
> >> --
> >> 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/
> >>
> >> _______________________________________________
> >> Dnsmasq-discuss mailing list
> >> Dnsmasq-discuss at lists.thekelleys.org.uk
> >> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
>
>
> --
> 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20131108/c7dd0b94/attachment.html>


More information about the Dnsmasq-discuss mailing list