[Dnsmasq-discuss] Bug while using address=//::

E encoding at riseup.net
Mon Sep 27 23:41:02 UTC 2021


> https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q3/015348.html
> It can block any name by using --address=/blockedname/::1.

What I want to do:
1. Block AAAA requests. (at first I want to block specific IPv6 ranges
but it's not possible, so)
2. Can able to query A.

Steps:
1. Install dnsmasq on Debian 11 (completely disabled IPv6/IPv4 only
environment)
2. Add below 2 line to conf and restart service.
server=8.8.8.8#53
address=/COM/::
3. dig github.com A @127.0.0.1

Result:
No answer at all.
;github.com.                    IN      A

Expected:
github.com. IN A 1.2.3.4


Questions:
1. why dnsmasq is rejecting A request?
2. Is there any way to block AAAA?



More information about the Dnsmasq-discuss mailing list