I guess I gave you the wrong spelling of the option. It is in the online man page but has an 's' not a 'z'. You might also check for the abbreviated option which is "-y".<div><br></div><div><dt style="font-family: 'Times New Roman'; font-size: medium; ">
<b>-y, --localise-queries</b></dt><dd style="font-family: 'Times New Roman'; font-size: medium; ">Return answers to DNS queries from /etc/hosts which depend on the interface over which the query was received. If a name in /etc/hosts has more than one address associated with it, and at least one of those addresses is on the same subnet as the interface to which the query was sent, then return only the address(es) on that subnet. This allows for a server to have multiple addresses in /etc/hosts corresponding to each of its interfaces, and hosts will get the correct address based on which network they are attached to. Currently this facility is limited to IPv4.</dd>
<dd style="font-family: 'Times New Roman'; font-size: medium; "><br></dd><div><br></div><div><br></div><br><div class="gmail_quote">On Tue, Oct 12, 2010 at 6:38 PM, <span dir="ltr"><<a href="mailto:fred@damen.org">fred@damen.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">localize-queries does not appear in my /etc/dnsmasq.conf and there are no /etc/dnsmasq.d/* files.<br>
There is no mention of localize-queries in the dnsmasq installed man page.<br>
<div><div></div><div class="h5"><br>
> Are you by any chance using localize-queries?<br>
><br>
> On Mon, Oct 11, 2010 at 11:52 PM, <<a href="mailto:fred@damen.org">fred@damen.org</a>> wrote:<br>
><br>
>> Greetings,<br>
>><br>
>> I have dnsmasq working using DHCP and DNS fine except that the dnsmasq<br>
>> server responds incorrectly on the loopback address, i.e. other computers<br>
>> that get ip address(s) (dhcp) and resolve names (DNS) works but resolving<br>
>> dns names on the host on which dnsmasq is running indicates the configured<br>
>> dns names are unresolvable.<br>
>><br>
>> /etc/resole.conf<br>
>> nameserver 127.0.0.1<br>
>> nameserver xx.xx.xx.xx<br>
>><br>
>> /etc/dnsmasq.conf<br>
>> ...<br>
>> interface=lo<br>
>> interface=eth0<br>
>> listen-address=127.0.0.1<br>
>> ...<br>
>><br>
>> /var/log/messages<br>
>> ...<br>
>> Oct 11 23:32:55 damen dnsmasq[17165]: started, version 2.52 cachesize 150<br>
>> Oct 11 23:32:55 damen dnsmasq[17165]: compile time options: IPv6<br>
>> GNU-getopt DBus no-I18N DHCP TFTP<br>
>> Oct 11 23:32:55 damen dnsmasq-dhcp[17165]: DHCP, IP range 192.168.0.16 --<br>
>> 192.168.0.254, lease time 12h<br>
>> Oct 11 23:32:55 damen dnsmasq[17165]: reading /etc/resolv.conf<br>
>> Oct 11 23:32:55 damen dnsmasq[17165]: using nameserver xx.xx.xx.xx#53 Oct<br>
>> 11 23:32:55 damen dnsmasq[17165]: ignoring nameserver 127.0.0.1 - local<br>
>> interface<br>
>> Oct 11 23:32:55 damen dnsmasq[17165]: read /etc/hosts - 5 addresses ...<br>
>><br>
>> ping printer1<br>
>> ping: unknown host printer1<br>
>><br>
>> dig @<a href="http://192.168.0.1" target="_blank">192.168.0.1</a> printer1<br>
>> ...<br>
>> ;; QUESTION SECTION:<br>
>> ;printer1. IN A<br>
>><br>
>><br>
>> ;; ANSWER SECTION:<br>
>> printer1. 0 IN A 192.168.0.101<br>
>> ...<br>
>><br>
>> dig @<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> printer1<br>
>> ...<br>
>> ;; QUESTION SECTION:<br>
>> ;printer1. IN A<br>
>><br>
>> ;; AUTHORITY SECTION:<br>
>> . 6862 IN SOA <a href="http://a.root-servers.net" target="_blank">a.root-servers.net</a>.<br>
>> <a href="http://nstld.verisign-grs.com" target="_blank">nstld.verisign-grs.com</a>. 2010101101<br>
>> 1800 900 604800 86400<br>
>> ...<br>
>><br>
>> uname -a<br>
>> Linux <a href="http://damen.us" target="_blank">damen.us</a> 2.6.33.6-147.2.4.fc13.x86_64 #1 SMP Fri Jul 23 17:14:44 UTC<br>
>> 2010 x86_64 x86_64 x86_64 GNU/Linux<br>
>><br>
>><br>
>> Any and all help appreciated,<br>
>><br>
>> Fred<br>
>><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Dnsmasq-discuss mailing list<br>
>> <a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
>> <a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
>><br>
><br>
<br>
</div></div></blockquote></div><br></div>