[Dnsmasq-discuss] Resolution Question

Gavin Hill gavin at highpeak.co.za
Fri Apr 10 11:17:30 BST 2015


This may be a more generic DNS question than a dnsmasq specific one, but seeing as I’m running dnsmasq I hoped someone on the list may be able to help me.

I can resolve a host name with and without the domain name suffix, but when I try to use an application to resolve the FQDN it fails.  See below for an example.  I am stumped as to why the “host” command can resolve the FQDN but other applications cannot.  Any guidance would be very much appreciated.

gaz at zeus:~$ host sg200-1
sg200-1.beerygaz.local has address 192.168.1.5
gaz at zeus:~$ host sg200-1.beerygaz.local
sg200-1.beerygaz.local has address 192.168.1.5
gaz at zeus:~$ ping sg200-1
PING sg200-1.beerygaz.local (192.168.1.5) 56(84) bytes of data.
gaz at zeus:~$ ping sg200-1.beerygaz.local
ping: unknown host sg200-1.beerygaz.local
gaz at zeus:~$ cat /etc/resolv.conf 
domain beerygaz.local
search beerygaz.local.
nameserver 192.168.1.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20150410/91b75e84/attachment.html>


More information about the Dnsmasq-discuss mailing list