[Dnsmasq-discuss] Ignoring query from non-local network

Hamish Moffatt hamish at moffatt.email
Thu Jan 12 05:21:56 UTC 2023


Hi,

I'm running dnsmasq 2.86 on OpenWRT (22.03.3). I have a single dnsmasq 
providing DNS and DHCP on 3 interfaces succesfully.

Now I've added a 4th which will be DNS only, so it isn't explicitly 
mentioned in the configuration file at all. When I make a DNS query from 
that interface, dnsmasq logs:

/tmp/system.log:Thu Jan 12 16:03:01 2023 daemon.warn dnsmasq[1]: 
Ignoring query from non-local network


I have local-service enabled, of which the manual page says:

*--local-service*
    Accept DNS queries only from hosts whose address is on a local
    subnet, ie a subnet for which an interface exists on the server.
    This option only has effect if there are no *--interface*,
    *--except-interface*, *--listen-address* or *--auth-server* options.
    It is intended to be set as a default on installation, to allow
    unconfigured installations to be useful but also safe from being
    used for DNS amplification attacks. 


I do not have any of those clauses listed. If I remove local-service 
then it works. What did I miss?


Thanks

Hamish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20230112/a029e7fa/attachment.htm>


More information about the Dnsmasq-discuss mailing list