Block only IPv6 (AAAA) for some domains?

Hi all,
Is it possible to block only the AAAA queries for domains? The reason I ask this is that I use a 6in4 tunnel because Bell Canada for whatever reason does not provide IPv6 despite it's 2022, and some domains' IPv6 address seems to be unreachable over this tunnel, so I want to force those domain back to IPv4.

Thanks in advance.

1 Like

You can block all AAAA queries with this regex blacklist entry:

.*;querytype=AAAA

https://docs.pi-hole.net/regex/pi-hole/#only-match-specific-query-types

Thanks, I appended querytype=AAAA to the regexes I want IPv6 blocked, worked fine.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.