dns
dns copied to clipboard
DNS lookup fails within Gluetun
Hi 👋
I've setup a basic Kubernetes pod with qBittorrent and Gluetun cohabiting within. I've tested multiple VPNs such as AirVPN, Mullvad and NordVPN using Wireguard and OpenVPN.
The VPN connection is working fine but I can't seem to get the DNS working on both containers.
Failing Scenario
The failing configuration is the following (VPN settings omitted as they are out-of-scope):
BLOCK_MALICIOUS: 'off'
DOT: 'on'
DOT_IPV6l: 'off'
When I try to run apk update on both the Gluetun and the qBittorrent containers, it fails and says it cannot reach dl-cdn.alpinelinux.org. I'm currently running some bandwidth tests so I didn't provide the precise error log but I can provide it if it's relevant although it just states the host is not resolvable.
wget acts the same way as apk but curl seems to work 🤷
I keep getting messages such as:
Host not found (authoritative)on qBittorrent's tracker viewFailed name has no usable addressBad address
Temporary Fix
As a temporary fix, I've tried enabling IPv6 and fiddling with multiple settings but the only solution was to disable the DNS part of Gluetun by using the following configuration:
DOT: 'off'
Everything works perfectly after this.
I'm wonder if I'm the only one encountering this issue 🤔
Thanks for your help 🙏