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/"


_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to