[Dnsmasq-discuss] Trouble with local domains being forwarded to upstream dns servers
Simon Kelley
simon at thekelleys.org.uk
Sun Sep 18 22:25:06 UTC 2022
On 18/09/2022 17:21, Bryan Walton (dnsmasq) via Dnsmasq-discuss wrote:
> I'm having trouble with Dnsmasq forwarding requests for some local
> domains, even when I have them configured in my dnsmasq.conf. Here is
> what I have in my config:
>
> # Add local-only domains here, queries in these domains are answered
> from /etc/hosts or DHCP only.
> local=/.insecure/.70mpg.org/.ireta.net/.jkuu.org/
>
> Yet, my logs are filled with stuff like this:
>
> Sep 18 11:18:55 internal dnsmasq[26555]: forwarded internal.70mpg.org to
> 167.142.225.3
> Sep 18 11:18:55 internal dnsmasq[26555]: forwarded internal.70mpg.org to
> 167.142.225.5
>
> (167.142.225.3 and 167.142.225.5 are my upstream ISP DNS servers).
>
> Is something wrong with my config syntax that is causing dnsmasq to
> still query the upstream DNS servers?
>
> Thanks!
> Bryan
>
The config syntax looks fine.
Version?
Are you able to test the current code in the git repository?
Cheers,
Simon.
More information about the Dnsmasq-discuss
mailing list