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".
*-y, --localise-queries*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. On Tue, Oct 12, 2010 at 6:38 PM, <[email protected]> wrote: > 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, <[email protected]> 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 > >> [email protected] > >> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > >> > > > >
