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

Simon Kelley simon at thekelleys.org.uk
Tue Sep 28 08:27:19 UTC 2021


Which dnsmasq version are you using?

Simon.


On 28/09/2021 00:41, E wrote:
>> 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?
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
> 



More information about the Dnsmasq-discuss mailing list