[Dnsmasq-discuss] dnsmasq does not catches AAAA requests to domains in --address with only IPv4 records
Grundik
grundik at ololo.cc
Tue Mar 19 21:05:41 UTC 2024
On Tue, 2024-03-19 at 21:14 +0100, Buck Horn via Dnsmasq-discuss wrote:
> 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/"
Thank you! I've missed that.
More information about the Dnsmasq-discuss
mailing list