[Dnsmasq-discuss] Filter AAAA records option
Alexey Kuznetsov
kuznetsov.alexey at gmail.com
Tue Jun 13 08:39:00 UTC 2023
Hello!
I'm using dnsmasq on my openwrt router and sometimes I need to block
AAAA records from querying. For example Transmission BT port check using
AAAA record but shared port opened at ipv4 interface. As result port
checking is broken. I have to disable 'portcheck.transmissionbt.com
<http://portcheck.transmissionbt.com>'
from AAAA queries.
Another example. Google blocks requests from ipv6 free provider
(tunnelbroker.net/ <http://tunnelbroker.net/>) and I also block
google.com <http://google.com> from AAAA queries to
make it use my ipv4 external address.
Right now I'm doing this to block AAAA record:
config domain
option name 'portcheck.transmissionbt.com
<http://portcheck.transmissionbt.com>'
option ip '::1'
As result. dnsmasq return ::1 as result for querying
'portcheck.transmissionbt.com <http://portcheck.transmissionbt.com>'
. Some apps (browsers, etc) works fine
with that trick and using ipv4 instead. But some don't.
Can we have option to disable A and AAAA records using config?
--
AK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20230613/5891b25f/attachment.htm>
More information about the Dnsmasq-discuss
mailing list