[Dnsmasq-discuss] dnsmasq does not catches AAAA requests to domains in --address with only IPv4 records

Buck Horn buckhorn at weibsvolk.org
Tue Mar 19 20:14:32 UTC 2024


On 19.03.24 20:38, Grundik wrote:
> But, if the record in --address is only specified as IPv4, then AAAA
> requests are still forwarded further, and I found no way to make
> dnsmasq to return NXDOMAIN instead (as it should do in first place,
> according to my understanding of documentation).


Quoting dnsmasq's manpage  at https://dnsmasq.org/docs/dnsmasq-man.html:

"Note that the behaviour for queries which don't match the specified
address literal changed in version 2.86. Previous versions, configured
with (eg) --address=/example.com/1.2.3.4 and then queried for a RR type
other than A would return a NoData answer. From 2.86, the query is sent
upstream. To restore the pre-2.86 behaviour, use the configuration
--address=/example.com/1.2.3.4 --local=/example.com/"




More information about the Dnsmasq-discuss mailing list