Hi, I have a bizarre issue with the docker container and Sophos XG's DNS resolver.
Let me lay out my setup first. I am running Sophos XG Home 20.0.2MR2 on a Dell R210 II. There is no IPv6 enabled anywhere.
My docker host is Ubuntu 24.04 LTS and docker version 27.3.1. It's on DHCP with DNS pointing to my Sophos XG interface.
Here is my issue. In any of the containers:
ping "my.internal.FQDN" results in Bad Address
ping "my.TLD" result success ping.
ping "external FQDS like google.com" result success ping.
ping -4 "my.internal.FQDN" result in success.
ping -6 "my.internal.fqdn" result in Bad Address
nslookup "my.internal.fqdn" able to resolve IPv4, and NXDOMAIN on IPv6.
On the host, both ping and nslookup are fine and only return ipv4.
On the Sophos XG. I have tried all 4 DNS query configurations. No different.
But if I can change the DNS server to my domain controller on the docker host, the container can ping internal FQDN without any issues.
I am total lost here. Did I configure something wrong on the Sophos XG or docker?
Please help. Haven't able to sleep while for a week now.
Edited TAGs
[edited by: Erick Jan at 12:42 AM (GMT -7) on 25 Oct 2024]