Skip to content

DNS lookup fails within Gluetun #140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vincentkelleher opened this issue Apr 1, 2025 · 0 comments
Open

DNS lookup fails within Gluetun #140

vincentkelleher opened this issue Apr 1, 2025 · 0 comments

Comments

@vincentkelleher
Copy link

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 view
  • Failed name has no usable address
  • Bad 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 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant