[Dnsmasq-discuss] dnsmasq queries external dns servers even if dnsmasq is the authorized server for that domain.

Jim Alles kb3tbx at gmail.com
Sun Oct 20 02:54:03 BST 2013


Just ask it to,

There are other methods of specifying this, but this is for a
dnsmasq.conf example:
local=/example.com/ #private queries are only answered locally

Other possibly useful settings:
bogus-priv #blocks private address forwarding
except-interface=eth? (WAN)
domain-needed #blocks incomplete external requests

with documentation, of course:
http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
and
http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq.conf.example

On Fri, Oct 18, 2013 at 10:20 AM, René van Dorst <opensource at vdorst.com> wrote:
> Dnsmasq queries external dns servers for it's own domain.
> I think dnsmasq should not ask external dns servers when dnsmasq is the
> authorized server and don't have a record for his domain.
>
> dnsmasq.conf:
> auth-zone=example.com
> domain=example.com
>
> syslog:
> Oct 18 16:14:57 Thirsty dnsmasq[25586]: query[A] wifi.example.com from
> 127.0.0.1
> Oct 18 16:14:57 Thirsty dnsmasq[25586]: config wifi.example.com is <CNAME>
> Oct 18 16:14:57 Thirsty dnsmasq[25586]: DHCP ND-WIFI is 192.168.10.251
> Oct 18 16:14:57 Thirsty dnsmasq[25586]: query[AAAA] wifi.example.com from
> 127.0.0.1
> Oct 18 16:14:57 Thirsty dnsmasq[25586]: config wifi.example.com is <CNAME>
> Oct 18 16:14:57 Thirsty dnsmasq[25586]: forwarded wifi.example.com to
> 88.159.1.201
> Oct 18 16:14:57 Thirsty dnsmasq[25586]: reply ND-WIFI.example.com is
> NODATA-IPv6
>
> Greats,
>
> René van Dorst
>
> _______________________________________________
> 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