Skip to content

Bug: New DNS not resolving #2442

@epd5

Description

@epd5

Is this urgent?

Yes

Host OS

Debian 12

CPU arch

x86_64

VPN service provider

AirVPN

What are you using to run the container

docker-compose

What is the version of Gluetun

Running version latest built on 2024-08-25T07:04:32.409Z (commit 01fa993)

What's the problem 🤔

The new DNS system doesn't seem to be resolving.
Bizarrely my P2P client could make some connections. My shadowsocks client that uses Gluetuns DNS however couldn't resolve any addresses. Reverting to v3.39 resolves issue (Unbound).
Running

Share your logs (at least 10 lines)

2024-08-26T19:54:28+01:00 INFO [dns] using plaintext DNS at address 9.9.9.9
2024-08-26T19:54:28+01:00 INFO [http server] http server listening on [::]:8000
2024-08-26T19:54:28+01:00 INFO [healthcheck] listening on 127.0.0.1:9999
2024-08-26T19:54:28+01:00 INFO [firewall] allowing VPN connection...
2024-08-26T19:54:28+01:00 INFO [wireguard] Using available kernelspace implementation
2024-08-26T19:54:28+01:00 INFO [wireguard] Connecting to 185.156.175.34:1637
2024-08-26T19:54:28+01:00 INFO [wireguard] Wireguard setup is complete. Note Wireguard is a silent protocol and it may or may not work, without giving any error message. Typically i/o timeout errors indicate the Wireguard connection is not working.
2024-08-26T19:54:28+01:00 INFO [firewall] setting allowed input port 7262 through interface tun0...
2024-08-26T19:54:28+01:00 INFO [firewall] setting allowed input port 5055 through interface tun0...
2024-08-26T19:54:28+01:00 INFO [dns] downloading hostnames and IP block lists
2024-08-26T19:54:28+01:00 INFO [dns] DNS server listening on [::]:53
2024-08-26T19:54:28+01:00 INFO [healthcheck] healthy!
2024-08-26T19:54:30+01:00 WARN [dns] exchanging over DoT connection: read tcp 10.167.133.39:48128->9.9.9.9:853: i/o timeout
2024-08-26T19:54:30+01:00 WARN [dns] exchanging over DoT connection: read tcp 10.167.133.39:48142->9.9.9.9:853: i/o timeout
2024-08-26T19:54:32+01:00 WARN [dns] exchanging over DoT connection: read tcp 10.167.133.39:36718->149.112.112.9:853: i/o timeout
2024-08-26T19:54:34+01:00 WARN [dns] exchanging over DoT connection: read tcp 10.167.133.39:36730->149.112.112.9:853: i/o timeout
2024-08-26T19:54:36+01:00 WARN [dns] exchanging over DoT connection: read tcp 10.167.133.39:48176->9.9.9.9:853: i/o timeout
2024-08-26T19:54:37+01:00 WARN [dns] exchanging over DoT connection: read tcp 10.167.133.39:36782->149.112.112.9:853: i/o timeout
2024-08-26T19:54:37+01:00 WARN [dns] exchanging over DoT connection: read tcp 10.167.133.39:48222->9.9.9.9:853: i/o timeout
2024-08-26T19:54:37+01:00 WARN [dns] exchanging over DoT connection: read tcp 10.167.133.39:48232->9.9.9.9:853: i/o timeout
2024-08-26T19:54:38+01:00 WARN [dns] exchanging over DoT connection: read tcp 10.167.133.39:36816->149.112.112.9:853: i/o timeout

Share your configuration

gluetun:
          image: qmcgaw/gluetun:latest
          container_name: redacted
          hostname: redacted
          cap_add:
               - NET_ADMIN
          networks:
               redacted:
                    ipv4_address: redacted
               redacted:
          devices:
               - /dev/net/tun:/dev/net/tun
          volumes:
               - ./gluetun:/gluetun
          environment:
               - PUID=redacted
               - PGID=redacted
               - TZ=redacted
               - VPN_SERVICE_PROVIDER=airvpn
               - VPN_TYPE=wireguard
               - WIREGUARD_PRIVATE_KEY=redacted
               - WIREGUARD_PRESHARED_KEY=redacted
               - WIREGUARD_ADDRESSES=redacted
               - WIREGUARD_MTU=1424
               - WIREGUARD_PERSISTENT_KEEPALIVE_INTERVAL=30s
               - SERVER_COUNTRIES=redacted
               - HTTP_CONTROL_SERVER_LOG=off
               - DOT=on
               - DOT_PROVIDERS=quad9
               - DOT_CACHING=off
               - DNS_UPDATE_PERIOD=24h
               - BLOCK_MALICIOUS=false
               - BLOCK_SURVEILLANCE=false
               - BLOCK_ADS=false
               - SHADOWSOCKS=off
               - FIREWALL_VPN_INPUT_PORTS=redacted
               - FIREWALL_OUTBOUND_SUBNETS=redacted
               - HEALTH_TARGET_ADDRESS=quad9.net:443 
               - HEALTH_VPN_DURATION_INITIAL=120s
               - UPDATER_PERIOD=24h
          restart: unless-stopped

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions