Linux client DNS issue #2219

Open
opened 2025-11-20 07:06:03 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @EkiciLP on GitHub (Aug 23, 2025).

Describe the problem

So I have a custom DNS Server in my netbird net which is configured as the main DNS for the network in the UI.
On Linux clients it fails to add this DNS Server using systemd-resolved or resolvconf. When Connecting to the Net it throws this error:

Image

But I can confirm that the DNS Server is reachable because mobile devices work fine and a direct nslookup local.domain <DNS-IP> also works perfectly.

To Reproduce

Steps to reproduce the behavior:

  1. Have a custom DNS configured and added to netbird
  2. Install the Linux client using the official docs
  3. Connect using UI instructions
  4. Try to reach a local domain

Expected behavior

Resolving local domains correctly.

Are you using NetBird Cloud?
Self-Hosted

NetBird version

0.55.1

**Is any other VPN software installed?**t

Tailscale is installed but not configured.

Debug output

To help us resolve the problem, please attach the following anonymized status output

Peers detail:
 notebook-tim.anon-hVzdp.domain:
  NetBird IP: 100.125.6.124
  Public key: UOecXL5x4tIPm7k5VDeEC8dHncJtNNWdaj5foin64RU=
  Status: Connecting
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address: 
  Last connection update: 6 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 vpn-server.anon-hVzdp.domain:
  NetBird IP: 100.125.75.34
  Public key: 2+b9o09DLUjH5hopP5RSraYB3JtR/PBbTGGuAzlUmBw=
  Status: Connecting
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address: 
  Last connection update: 6 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 opnsense.anon-hVzdp.domain:
  NetBird IP: 100.125.152.145
  Public key: pFVvqWabLQvsqWQC/lihUBcJaQ4nmJi5kpo0pqFfxHU=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): srflx/prflx
  ICE candidate endpoints (Local/Remote): 198.51.100.0:57935/10.0.0.1:51820
  Relay server address: 
  Last connection update: 6 seconds ago
  Last WireGuard handshake: 6 seconds ago
  Transfer status (received/sent) 284 B/276 B
  Quantum resistance: false
  Networks: 10.0.0.0/24, 10.0.1.0/24, 10.0.2.0/24
  Latency: 354.416µs

 phone-tim.anon-hVzdp.domain:
  NetBird IP: 100.125.229.157
  Public key: +gJhLUkm9IlMkaJS4Q76Ht6RU7VVNIKb8w7OrVbERzg=
  Status: Connecting
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address: 
  Last connection update: 6 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

Events:
  [INFO] SYSTEM (796e2dad-32d5-4ee2-b396-c243923f9017)
    Message: Network deselection changed
    Time: 28 minutes, 15 seconds ago
    Metadata: all: false, append: false, networks: Exit Node (vpn-server)
  [WARNING] DNS (878f18f1-622a-4676-abe3-1a9e4642beef)
    Message: All upstream servers failed (probe failed)
    Time: 27 minutes, 21 seconds ago
    Metadata: upstreams: 100.125.152.145:53
  [INFO] SYSTEM (dd43b0d8-d430-4960-b296-6ee72425914e)
    Message: Network map updated
    Time: 27 minutes, 21 seconds ago
  [WARNING] DNS (26da8caa-bfe3-452d-aef8-aa3b01c96554)
    Message: All upstream servers failed (probe failed)
    Time: 23 minutes, 22 seconds ago
    Metadata: upstreams: 100.125.152.145:53
  [INFO] SYSTEM (823510c5-327f-46de-9f2b-67d778ce7620)
    Message: Network map updated
    Time: 23 minutes, 22 seconds ago
  [WARNING] DNS (8c969815-415c-428c-9fe6-5b85e162ae19)
    Message: All upstream servers failed (probe failed)
    Time: 22 minutes, 56 seconds ago
    Metadata: upstreams: 100.125.152.145:53
  [INFO] SYSTEM (54101547-c220-4d14-8ff2-fa0688aab236)
    Message: Network map updated
    Time: 22 minutes, 56 seconds ago
  [INFO] SYSTEM (f4042941-e7e0-4702-9c80-8faf86551354)
    Message: Network map updated
    Time: 17 minutes, 56 seconds ago
  [WARNING] DNS (2218aa6c-65c0-4dc0-8e19-0aa3c60db706)
    Message: All upstream servers failed (probe failed)
    Time: 6 seconds ago
    Metadata: upstreams: 100.125.152.145:53
  [INFO] SYSTEM (1669dca1-965f-4445-8f96-a61e49739fa2)
    Message: Network map updated
    Time: 6 seconds ago
OS: linux/amd64
Daemon version: 0.55.1
CLI version: 0.55.1
Profile: default
Management: Connected to https://vpn.anon-eywAf.domain:443
Signal: Connected to https://vpn.anon-eywAf.domain:443
Relays: 
  [stun:vpn.anon-eywAf.domain:3478] is Unavailable, reason: stun request: context deadline exceeded
  [turn:vpn.anon-eywAf.domain:3478?transport=udp] is Available
  [rels://vpn.anon-eywAf.domain:33080/relay] is Unavailable, reason: relay client not connected
Nameservers: 
  [1.1.1.1:53, 1.0.0.1:53] for [.] is Available
  [100.125.152.145:53] for [.] is Available
FQDN: haudisaudi.anon-hVzdp.domain
NetBird IP: 100.125.220.6/16
Interface type: Kernel
Quantum resistance: false
Lazy connection: false
Networks: -
Forwarding rules: 0
Peers count: 1/4 Connected

Create and upload a debug bundle, and share the returned file key:

6635ce03d98a358c955fce55a9f07c0c156288359b833d61a81e8abf6485ee14/4ad07634-30b6-4eb8-8ed7-b76f60a350fe

Additional Context

The following 2 commands from the troubleshooting page did not return anything so maybe the dns proxy did not start properly?

sudo ss -nlptu 'sport = 53' | grep netbird
sudo netstat -ltnup | grep ':53' | grep netbird

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings
Originally created by @EkiciLP on GitHub (Aug 23, 2025). **Describe the problem** So I have a custom DNS Server in my netbird net which is configured as the main DNS for the network in the UI. On Linux clients it fails to add this DNS Server using systemd-resolved or resolvconf. When Connecting to the Net it throws this error: <img width="328" height="108" alt="Image" src="https://github.com/user-attachments/assets/2ded4e34-98e6-456e-913d-0b8bd41fb841" /> But I can confirm that the DNS Server is reachable because mobile devices work fine and a direct `nslookup local.domain <DNS-IP>` also works perfectly. **To Reproduce** Steps to reproduce the behavior: 1. Have a custom DNS configured and added to netbird 2. Install the Linux client using the official docs 3. Connect using UI instructions 4. Try to reach a local domain **Expected behavior** Resolving local domains correctly. **Are you using NetBird Cloud?** Self-Hosted **NetBird version** `0.55.1` **Is any other VPN software installed?**t Tailscale is installed but not configured. **Debug output** To help us resolve the problem, please attach the following anonymized status output ``` Peers detail: notebook-tim.anon-hVzdp.domain: NetBird IP: 100.125.6.124 Public key: UOecXL5x4tIPm7k5VDeEC8dHncJtNNWdaj5foin64RU= Status: Connecting -- detail -- Connection type: P2P ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 6 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s vpn-server.anon-hVzdp.domain: NetBird IP: 100.125.75.34 Public key: 2+b9o09DLUjH5hopP5RSraYB3JtR/PBbTGGuAzlUmBw= Status: Connecting -- detail -- Connection type: P2P ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 6 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s opnsense.anon-hVzdp.domain: NetBird IP: 100.125.152.145 Public key: pFVvqWabLQvsqWQC/lihUBcJaQ4nmJi5kpo0pqFfxHU= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): srflx/prflx ICE candidate endpoints (Local/Remote): 198.51.100.0:57935/10.0.0.1:51820 Relay server address: Last connection update: 6 seconds ago Last WireGuard handshake: 6 seconds ago Transfer status (received/sent) 284 B/276 B Quantum resistance: false Networks: 10.0.0.0/24, 10.0.1.0/24, 10.0.2.0/24 Latency: 354.416µs phone-tim.anon-hVzdp.domain: NetBird IP: 100.125.229.157 Public key: +gJhLUkm9IlMkaJS4Q76Ht6RU7VVNIKb8w7OrVbERzg= Status: Connecting -- detail -- Connection type: P2P ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 6 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s Events: [INFO] SYSTEM (796e2dad-32d5-4ee2-b396-c243923f9017) Message: Network deselection changed Time: 28 minutes, 15 seconds ago Metadata: all: false, append: false, networks: Exit Node (vpn-server) [WARNING] DNS (878f18f1-622a-4676-abe3-1a9e4642beef) Message: All upstream servers failed (probe failed) Time: 27 minutes, 21 seconds ago Metadata: upstreams: 100.125.152.145:53 [INFO] SYSTEM (dd43b0d8-d430-4960-b296-6ee72425914e) Message: Network map updated Time: 27 minutes, 21 seconds ago [WARNING] DNS (26da8caa-bfe3-452d-aef8-aa3b01c96554) Message: All upstream servers failed (probe failed) Time: 23 minutes, 22 seconds ago Metadata: upstreams: 100.125.152.145:53 [INFO] SYSTEM (823510c5-327f-46de-9f2b-67d778ce7620) Message: Network map updated Time: 23 minutes, 22 seconds ago [WARNING] DNS (8c969815-415c-428c-9fe6-5b85e162ae19) Message: All upstream servers failed (probe failed) Time: 22 minutes, 56 seconds ago Metadata: upstreams: 100.125.152.145:53 [INFO] SYSTEM (54101547-c220-4d14-8ff2-fa0688aab236) Message: Network map updated Time: 22 minutes, 56 seconds ago [INFO] SYSTEM (f4042941-e7e0-4702-9c80-8faf86551354) Message: Network map updated Time: 17 minutes, 56 seconds ago [WARNING] DNS (2218aa6c-65c0-4dc0-8e19-0aa3c60db706) Message: All upstream servers failed (probe failed) Time: 6 seconds ago Metadata: upstreams: 100.125.152.145:53 [INFO] SYSTEM (1669dca1-965f-4445-8f96-a61e49739fa2) Message: Network map updated Time: 6 seconds ago OS: linux/amd64 Daemon version: 0.55.1 CLI version: 0.55.1 Profile: default Management: Connected to https://vpn.anon-eywAf.domain:443 Signal: Connected to https://vpn.anon-eywAf.domain:443 Relays: [stun:vpn.anon-eywAf.domain:3478] is Unavailable, reason: stun request: context deadline exceeded [turn:vpn.anon-eywAf.domain:3478?transport=udp] is Available [rels://vpn.anon-eywAf.domain:33080/relay] is Unavailable, reason: relay client not connected Nameservers: [1.1.1.1:53, 1.0.0.1:53] for [.] is Available [100.125.152.145:53] for [.] is Available FQDN: haudisaudi.anon-hVzdp.domain NetBird IP: 100.125.220.6/16 Interface type: Kernel Quantum resistance: false Lazy connection: false Networks: - Forwarding rules: 0 Peers count: 1/4 Connected ``` Create and upload a debug bundle, and share the returned file key: `6635ce03d98a358c955fce55a9f07c0c156288359b833d61a81e8abf6485ee14/4ad07634-30b6-4eb8-8ed7-b76f60a350fe` **Additional Context** The following 2 commands from the troubleshooting page did not return anything so maybe the dns proxy did not start properly? ```bash sudo ss -nlptu 'sport = 53' | grep netbird sudo netstat -ltnup | grep ':53' | grep netbird ``` **Have you tried these troubleshooting steps?** - [x] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird client - [x] Disabled other VPN software - [x] Checked firewall settings
saavagebueno added the triage-needed label 2025-11-20 07:06:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2219