[SOLVED] DNS resolver timeout #1532

Open
opened 2025-11-20 05:32:20 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @boardlord1 on GitHub (Dec 30, 2024).

Describe the problem

I've set up my self hosted Netbird instance, which is behind nginx. There is also another container running which is a peering route into my LAN, and an exit node. A nameserver with Adguard Home's IP (192.168.7.1) is set up as well, distributed to all peers. My Adguard server works perfectly for LAN clients and when I'm connected through vanilla wireguard to my router.

After logging in with my phone, browsing my LAN works and browsing the web seemingly works as well - I'm seeing my home IP while my phone is connected to 4G. This shouldn't be the case imho - if I connect with vanilla wireguard to my router, OR my Headscale network, during the same check only the resolvers set up in Adguard come up (cloudflare and quad9).

However, I've noticed that my DNS resolvers that are set up with Adguard Home running on my router, are not coming up most of the time when checking for DNS leaks with browserleaks.com - only the nameservers of my mobile providers show up. The logs of the container client
show:


2024-12-30T21:56:20Z WARN [error: read udp 192.168.7.102:56413->192.168.7.1:53: i/o timeout, upstream: 192.168.7.1:53] client/internal/dns/upstream.go:116: got an error while connecting to upstream

2024-12-30T21:56:20Z ERRO client/internal/dns/upstream.go:149: all queries to the upstream nameservers failed with timeout

My resolve.conf in the container:

# Generated by NetBird
# If needed you can restore the original file by copying back /etc/resolv.conf.original.netbird

options timeout:4 attempts:1
search netbird.selfhosted
nameserver 100.126.25.81
nameserver 192.168.7.1

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Have the client communicate with my chosen nameserver without timeout and only the set up resolvers should show up in a leak test - and not the mobile provider's ones.

Are you using NetBird Cloud?

Self-hosted

NetBird version

0.35.1

NetBird status -dA output:

Cannot get that inside the container

Originally created by @boardlord1 on GitHub (Dec 30, 2024). **Describe the problem** I've set up my self hosted Netbird instance, which is behind nginx. There is also another container running which is a peering route into my LAN, and an exit node. A nameserver with Adguard Home's IP (192.168.7.1) is set up as well, distributed to all peers. My Adguard server works perfectly for LAN clients and when I'm connected through vanilla wireguard to my router. After logging in with my phone, browsing my LAN works and browsing the web seemingly works as well - I'm seeing my home IP while my phone is connected to 4G. This shouldn't be the case imho - if I connect with vanilla wireguard to my router, OR my Headscale network, during the same check only the resolvers set up in Adguard come up (cloudflare and quad9). However, I've noticed that my DNS resolvers that are set up with Adguard Home running on my router, are not coming up most of the time when checking for DNS leaks with browserleaks.com - only the nameservers of my mobile providers show up. The logs of the container client show: ``` 2024-12-30T21:56:20Z WARN [error: read udp 192.168.7.102:56413->192.168.7.1:53: i/o timeout, upstream: 192.168.7.1:53] client/internal/dns/upstream.go:116: got an error while connecting to upstream 2024-12-30T21:56:20Z ERRO client/internal/dns/upstream.go:149: all queries to the upstream nameservers failed with timeout ``` My resolve.conf in the container: ``` # Generated by NetBird # If needed you can restore the original file by copying back /etc/resolv.conf.original.netbird options timeout:4 attempts:1 search netbird.selfhosted nameserver 100.126.25.81 nameserver 192.168.7.1 ``` **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** Have the client communicate with my chosen nameserver without timeout and only the set up resolvers should show up in a leak test - and not the mobile provider's ones. **Are you using NetBird Cloud?** Self-hosted **NetBird version** 0.35.1 **NetBird status -dA output:** Cannot get that inside the container
saavagebueno added the triage-needed label 2025-11-20 05:32:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1532