How do I block IPv6 connectivity to certain websites
-
Let's say example.com is available in both A and AAAA records but all hosts in my network must go through IPv4 to that website. How do I make that happen?
I tried override Unbound with null route "::" but somehow website is totally inaccessible with any protocol, dig command return nothing for both A and AAAA records.
-
What do you expect that to achieve?
-
Many years ago, ther were question like this https://forum.netgate.com/topic/118566/netflix-and-he-net-tunnel-fixed-using-unbound-python-module?_=1622934995649
These days, the package pfBlockerNG can work with lists of AAAA domain names, that can be blocked (no AAAA returned on a DNS request) so the A record gets used == IPv4.