bind overwrites IPv4 with IPv6 result?
-
Hi,
I am using the bind9 package and I have it configured to forward all queries to a ad-blocking DNS server. Working fine so far.
Now I am having issues with some domains.
So I can not connect to www.komoot.de. For troubleshooting I used the Linxu command line tools (192.168.90.254 is my pfSense):
root@backup:~# host www.komoot.de 192.168.90.254 Using domain server: Name: 192.168.90.254 Address: 192.168.90.254#53 Aliases: www.komoot.de is an alias for komoot-web-live-2021.eu-west-1.elasticbeanstalk.com. komoot-web-live-2021.eu-west-1.elasticbeanstalk.com has address 127.0.0.1 komoot-web-live-2021.eu-west-1.elasticbeanstalk.com has IPv6 address ::1
So I am getting the localhost address back- which means it is filtered to block ads.
But when I am querying the configured uplink server I am getting a different result:
root@backup:~# host www.komoot.de 176.9.93.198 Using domain server: Name: 176.9.93.198 Address: 176.9.93.198#53 Aliases: www.komoot.de is an alias for komoot-web-live-2021.eu-west-1.elasticbeanstalk.com. komoot-web-live-2021.eu-west-1.elasticbeanstalk.com has address 46.51.200.161 komoot-web-live-2021.eu-west-1.elasticbeanstalk.com has address 52.213.132.182 komoot-web-live-2021.eu-west-1.elasticbeanstalk.com has IPv6 address ::1
So we see we are getting a proper IPv4 address back, but no useable IPv6 one (localhost).
When I do the same on another Debian host configured not to do any IPv6 I am getting the result without the IPv6 address and everything is fine...
Now I am wondering why bind overwrites the received IP4 result with the one it gets from IPv6? I am not using IPv6 at all, hoiw can I disable this behaviour?
Thanks a lot!
/KNEBB