[GH-ISSUE #2186] DNS not working after installing netbird 0.28.2 on Ubuntu #4546

Open
opened 2026-08-05 00:58:17 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @tomasznguyen on GitHub (Jun 24, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/2186

Describe the problem

After a fresh install of Ubuntu (24.04), resolving domains works. However, after installing netbird, DNS resolving does not work anymore. For example:

root@fubar:~/netbird# nslookup google.com
;; communications error to 127.0.0.53#53: timed out
;; communications error to 127.0.0.53#53: timed out
;; communications error to 127.0.0.53#53: timed out
;; no servers could be reached


root@fubar:~/netbird# dig google.com
;; communications error to 127.0.0.53#53: timed out
;; communications error to 127.0.0.53#53: timed out
;; communications error to 127.0.0.53#53: timed out

; <<>> DiG 9.18.24-0ubuntu5-Ubuntu <<>> google.com
;; global options: +cmd
;; no servers could be reached

root@fubar:~/netbird# netbird status -dA
Peers detail:
 oneplus7t-eea.netbird.selfhosted:
  NetBird IP: 100.99.169.30/32
  Public key: bTdFb8ukmy5ukjXe/MwJKdGp80CIz+E/m3l/ermnShA=
  Status: Disconnected
  -- detail --
  Connection type: P2P
  Direct: false
  ICE candidate (Local/Remote): host/prflx
  ICE candidate endpoints (Local/Remote): 10.18.0.12:51820/198.51.100.0:51820
  Last connection update: 14 minutes, 36 seconds ago
  Last WireGuard handshake: 2 minutes ago
  Transfer status (received/sent) 2.3 KiB/888 B
  Quantum resistance: false
  Routes: -
  Latency: 0s

 macbook-pro-2.netbird.selfhosted:
  NetBird IP: 100.99.229.225
  Public key: bUcXgQz0McQXxDDI0LVyq0KlVNkq6rQ0KElZ6kMTKQQ=
  Status: Connected
  -- detail --
  Connection type: P2P
  Direct: true
  ICE candidate (Local/Remote): host/prflx
  ICE candidate endpoints (Local/Remote): 10.18.0.12:51820/198.51.100.0:51820
  Last connection update: 14 minutes, 33 seconds ago
  Last WireGuard handshake: 2 minutes ago
  Transfer status (received/sent) 2.3 KiB/888 B
  Quantum resistance: false
  Routes: -
  Latency: 5.890435ms

OS: linux/amd64
Daemon version: 0.28.2
CLI version: 0.28.2
Management: Connected to https://vpn.anon-2DdBv.domain:443
Signal: Connected to https://vpn.anon-2DdBv.domain:443
Relays: 
  [stun:vpn.anon-2DdBv.domain:3478] is Unavailable, reason: dial: failed to listen: dial: dial udp: lookup vpn.anon-2DdBv.domain on 127.0.0.53:53: read udp 127.0.0.1:34617->127.0.0.53:53: i/o timeout
  [turn:vpn.anon-2DdBv.domain:3478?transport=udp] is Unavailable, reason: create client: lookup vpn.anon-2DdBv.domain on 127.0.0.53:53: read udp 127.0.0.1:46605->127.0.0.53:53: i/o timeout
Nameservers: 
  [8.8.8.8:53, 8.8.4.4:53] for [.] is Available
FQDN: frank-vpn-peer.netbird.selfhosted
NetBird IP: 100.99.227.52/16
Interface type: Kernel
Quantum resistance: false
Routes: 198.51.100.1/32, 198.51.100.2/32, 198.51.100.3/32, 198.51.100.4/32, 198.51.100.5/32, 198.51.100.6/32, anon-axyCw.domain
Peers count: 1/2 Connected

To Reproduce

Steps to reproduce the behavior:

  1. Freshly install Ubuntu
  2. Run ping google.com
  3. Install netbird: curl -fsSL https://pkgs.netbird.io/install.sh | sh
  4. Run netbird: netbird up --management-url xxx --setup-key xxx
  5. Run again ping google.com

Expected behavior

DNS should be still working after installing and running netbird.

Are you using NetBird Cloud?

Self-hosted

NetBird version

0.28.2

NetBird status -d output:

See above

Originally created by @tomasznguyen on GitHub (Jun 24, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/2186 **Describe the problem** After a fresh install of Ubuntu (24.04), resolving domains works. However, after installing netbird, DNS resolving does not work anymore. For example: ``` root@fubar:~/netbird# nslookup google.com ;; communications error to 127.0.0.53#53: timed out ;; communications error to 127.0.0.53#53: timed out ;; communications error to 127.0.0.53#53: timed out ;; no servers could be reached root@fubar:~/netbird# dig google.com ;; communications error to 127.0.0.53#53: timed out ;; communications error to 127.0.0.53#53: timed out ;; communications error to 127.0.0.53#53: timed out ; <<>> DiG 9.18.24-0ubuntu5-Ubuntu <<>> google.com ;; global options: +cmd ;; no servers could be reached root@fubar:~/netbird# netbird status -dA Peers detail: oneplus7t-eea.netbird.selfhosted: NetBird IP: 100.99.169.30/32 Public key: bTdFb8ukmy5ukjXe/MwJKdGp80CIz+E/m3l/ermnShA= Status: Disconnected -- detail -- Connection type: P2P Direct: false ICE candidate (Local/Remote): host/prflx ICE candidate endpoints (Local/Remote): 10.18.0.12:51820/198.51.100.0:51820 Last connection update: 14 minutes, 36 seconds ago Last WireGuard handshake: 2 minutes ago Transfer status (received/sent) 2.3 KiB/888 B Quantum resistance: false Routes: - Latency: 0s macbook-pro-2.netbird.selfhosted: NetBird IP: 100.99.229.225 Public key: bUcXgQz0McQXxDDI0LVyq0KlVNkq6rQ0KElZ6kMTKQQ= Status: Connected -- detail -- Connection type: P2P Direct: true ICE candidate (Local/Remote): host/prflx ICE candidate endpoints (Local/Remote): 10.18.0.12:51820/198.51.100.0:51820 Last connection update: 14 minutes, 33 seconds ago Last WireGuard handshake: 2 minutes ago Transfer status (received/sent) 2.3 KiB/888 B Quantum resistance: false Routes: - Latency: 5.890435ms OS: linux/amd64 Daemon version: 0.28.2 CLI version: 0.28.2 Management: Connected to https://vpn.anon-2DdBv.domain:443 Signal: Connected to https://vpn.anon-2DdBv.domain:443 Relays: [stun:vpn.anon-2DdBv.domain:3478] is Unavailable, reason: dial: failed to listen: dial: dial udp: lookup vpn.anon-2DdBv.domain on 127.0.0.53:53: read udp 127.0.0.1:34617->127.0.0.53:53: i/o timeout [turn:vpn.anon-2DdBv.domain:3478?transport=udp] is Unavailable, reason: create client: lookup vpn.anon-2DdBv.domain on 127.0.0.53:53: read udp 127.0.0.1:46605->127.0.0.53:53: i/o timeout Nameservers: [8.8.8.8:53, 8.8.4.4:53] for [.] is Available FQDN: frank-vpn-peer.netbird.selfhosted NetBird IP: 100.99.227.52/16 Interface type: Kernel Quantum resistance: false Routes: 198.51.100.1/32, 198.51.100.2/32, 198.51.100.3/32, 198.51.100.4/32, 198.51.100.5/32, 198.51.100.6/32, anon-axyCw.domain Peers count: 1/2 Connected ``` **To Reproduce** Steps to reproduce the behavior: 1. Freshly install Ubuntu 2. Run `ping google.com` 3. Install netbird: `curl -fsSL https://pkgs.netbird.io/install.sh | sh` 4. Run netbird: `netbird up --management-url xxx --setup-key xxx` 5. Run again `ping google.com` **Expected behavior** DNS should be still working after installing and running netbird. **Are you using NetBird Cloud?** Self-hosted **NetBird version** `0.28.2` **NetBird status -d output:** See above
saavagebueno added the bugclientdnslinux labels 2026-08-05 00:58:17 -04:00
Sign in to join this conversation.
No Label bug client dns linux
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#4546