Re: dig knows while ping doesn't
On Thu, 2011-02-17 at 03:59 +0000, T o n g wrote:
> On Thu, 17 Feb 2011 03:20:58 +0000, T o n g wrote:
> > I can't explain the following myself: . . .
> > -- dig knows the host maroon.
> > -- yet ping doesn't know the host maroon.
> - It actually happens to all of my local hosts short names, unless the
> domain name is appended.
> - My DNS server is DNSmasq, the whole setup is blogged at
tixy@computer2:~$ ping computer1
PING computer1.home (192.168.2.11) 56(84) bytes of data.
so the domain 'home' is getting automatically added.
What does "cat /etc/resolv.conf" return? I have
I believe the 'search' entry is what makes it work for me. This file is
automatically generated by the dhcp client.
Tixy () The ASCII Ribbon Campaign (www.asciiribbon.org)
/\ Against HTML e-mail and proprietary attachments