[Dnsmasq-discuss] Weird issue when pinging FQDN

Tyekanyk jorixine at gmail.com
Thu Mar 31 13:56:15 BST 2011


Its weird because the only thing that changed between the 'it works' to 'it
does not work' state was that I had to reinstall my home server (oblivion)
and my desktop (floyd), while tws85 (a virtual machine running on oblivion)
remained the same, as well my laptop which name is 'lobrutto' and shows the
same strange behaviour as floyd.

I'll try with your suggestions as soon as I can make the changes and will
get back to you guys.

In the meantime, thanks a lot for the responses ! :D

On Thu, Mar 31, 2011 at 4:47 AM, Chris G <cl at isbd.net> wrote:

> On Wed, Mar 30, 2011 at 04:18:27PM -0500, Frederick C. Damen wrote:
> > I suspect you may find the cause of your issue to do with the fact that
> > ping resolves names with resources, i.e. files etc, local to the machine
> > before finding a DNS server to resolve the name.  Dig I am lead to
> > believe goes straight to the DNS server.
> >
> I think this may well relate to my question a week or so ago.
>
> > I had a problem arising from a machine that had a 'domain' or 'search'
> > configuration statement in /etc/resolv.conf which did not exist on all
> > the other machines on the LAN causing symptoms similar to what you
> describe.
> >
> I have found that I need to remove a load of default junk that gets
> installed into /etc/hosts on the client machines in order that those
> machines pick up their FQDN from the dnsmasq server correctly.
>
> E.g. on this machine (which is a client machine) the /etc/hosts is
> simply:-
>
>    127.0.0.1   localhost
>
>    # The following lines are desirable for IPv6 capable hosts
>    ::1     localhost ip6-localhost ip6-loopback
>    fe00::0 ip6-localnet
>    ff00::0 ip6-mcastprefix
>    ff02::1 ip6-allnodes
>    ff02::2 ip6-allrouters
>
>
> If Network Manager is installed it will *change* /etc/hosts as follows:-
>
>    127.0.0.1       chris   localhost.localdomain   localhost
>    ::1     chris   localhost6.localdomain6 localhost6
>
>    # The following lines are desirable for IPv6 capable hosts
>    ::1     localhost ip6-localhost ip6-loopback
>    fe00::0 ip6-localnet
>    ff00::0 ip6-mcastprefix
>    ff02::1 ip6-allnodes
>    ff02::2 ip6-allrouters
>
> The above screws up the client machines FQDN and various things complain
> about it.
>
>
> Oh, /etc/resolv.conf is:-
>
>    nameserver 192.168.1.2
>    domain zbmc.eu
>    search zbmc.eu
>
>
> --
> Chris Green
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>



-- 
-Jorixine-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20110331/ffded1b5/attachment-0001.htm 


More information about the Dnsmasq-discuss mailing list