[Dnsmasq-discuss] dnsmasq does not respond correctly on loopback(lo)

fred at damen.org fred at damen.org
Wed Oct 13 00:38:47 BST 2010


localize-queries does not appear in my /etc/dnsmasq.conf and there are no /etc/dnsmasq.d/* files.
There is no mention of localize-queries in the dnsmasq installed man page.

> Are you by any chance using localize-queries?
>
> On Mon, Oct 11, 2010 at 11:52 PM, <fred at damen.org> wrote:
>
>> Greetings,
>>
>> I have dnsmasq working using DHCP and DNS fine except that the dnsmasq
>> server responds incorrectly on the loopback address, i.e. other computers
>> that get ip address(s) (dhcp) and resolve names (DNS) works but resolving
>> dns names on the host on which dnsmasq is running indicates the configured
>> dns names are unresolvable.
>>
>> /etc/resole.conf
>> nameserver 127.0.0.1
>> nameserver xx.xx.xx.xx
>>
>> /etc/dnsmasq.conf
>> ...
>> interface=lo
>> interface=eth0
>> listen-address=127.0.0.1
>> ...
>>
>> /var/log/messages
>> ...
>> Oct 11 23:32:55 damen dnsmasq[17165]: started, version 2.52 cachesize 150
>> Oct 11 23:32:55 damen dnsmasq[17165]: compile time options: IPv6
>> GNU-getopt DBus no-I18N DHCP TFTP
>> Oct 11 23:32:55 damen dnsmasq-dhcp[17165]: DHCP, IP range 192.168.0.16 --
>> 192.168.0.254, lease time 12h
>> Oct 11 23:32:55 damen dnsmasq[17165]: reading /etc/resolv.conf
>> Oct 11 23:32:55 damen dnsmasq[17165]: using nameserver xx.xx.xx.xx#53 Oct
>> 11 23:32:55 damen dnsmasq[17165]: ignoring nameserver 127.0.0.1 - local
>> interface
>> Oct 11 23:32:55 damen dnsmasq[17165]: read /etc/hosts - 5 addresses ...
>>
>> ping printer1
>> ping: unknown host printer1
>>
>> dig @192.168.0.1 printer1
>> ...
>> ;; QUESTION SECTION:
>> ;printer1.                      IN      A
>>
>>
>> ;; ANSWER SECTION:
>> printer1.               0       IN      A       192.168.0.101
>> ...
>>
>> dig @127.0.0.1 printer1
>> ...
>> ;; QUESTION SECTION:
>> ;printer1.                      IN      A
>>
>> ;; AUTHORITY SECTION:
>> .                       6862    IN      SOA     a.root-servers.net.
>> nstld.verisign-grs.com. 2010101101
>> 1800 900 604800 86400
>> ...
>>
>> uname -a
>> Linux damen.us 2.6.33.6-147.2.4.fc13.x86_64 #1 SMP Fri Jul 23 17:14:44 UTC
>> 2010 x86_64 x86_64 x86_64 GNU/Linux
>>
>>
>> Any and all help appreciated,
>>
>> Fred
>>
>>
>>
>>
>> _______________________________________________
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>
>




More information about the Dnsmasq-discuss mailing list