DNS fails to resolve #2115

Closed
opened 2025-11-20 07:04:06 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @mathewp88 on GitHub (Jul 27, 2025).

Describe the problem

Using netbird on my machine, I am not able to use the dns resolver and cannot connect to other machines using <mahcine-x>.netbird.cloud. I can still access other machines using the ip, and this issue is not present on my phone. The issue seems to be due to the /etc/resolvd.conf not being updated by netbird up. Could it be as I am not using systemd-resolvd?

To Reproduce

Steps to reproduce the behavior:

  1. Run netbird up
  2. Run ping <machne-x>.netbird.cloud
  3. [See error](ping: .netbird.cloud: Name or service not known)

Expected behavior

The DNS should resolve normally.

Are you using NetBird Cloud?

Yes.

NetBird version

0.49.0

Is any other VPN software installed?

No

Debug output

Peers detail:
nothing.netbird.cloud:
NetBird IP: 100.113.x.xxx
Public key: some-random-key1
Status: Connecting
-- detail --
Connection type:
ICE candidate (Local/Remote): -/-
ICE candidate endpoints (Local/Remote): -/-
Relay server address:
Last connection update: 50 minutes, 21 seconds ago
Last WireGuard handshake: -
Transfer status (received/sent) 0 B/0 B
Quantum resistance: false
Networks: -
Latency: 3.729114ms

hermes.netbird.cloud:
NetBird IP: 100.113.xx.xxx
Public key: some-random-key2
Status: Connected
-- detail --
Connection type: P2P
ICE candidate (Local/Remote): host/prflx
ICE candidate endpoints (Local/Remote): 10.148.xx.xxx:51820/10.148.83.252:51820
Relay server address: rels://streamline-sg-sin1-1.relay.netbird.io:443
Last connection update: 1 hour, 15 minutes ago
Last WireGuard handshake: 17 seconds ago
Transfer status (received/sent) 3.8 KiB/11.8 KiB
Quantum resistance: false
Networks: -
Latency: 14.844165ms

Events:
[WARNING] DNS (98abf3bc-0ddf-4e48-9dae-28e12e190936)
Message: The host dns manager does not support match domains
Time: 1 hour, 33 minutes ago
Metadata: manager: resolvconf (openresolv)
[INFO] SYSTEM (8c50030e-e8ec-4149-92a4-8159442007d3)
Message: Network map updated
Time: 1 hour, 33 minutes ago
[INFO] SYSTEM (4dcf6651-c5de-4e1a-bc5f-66f71110cf87)
Message: Network map updated
Time: 1 hour, 33 minutes ago
[INFO] SYSTEM (b653289a-499a-486f-aa2a-52bddca885a5)
Message: Network map updated
Time: 1 hour, 29 minutes ago
[INFO] SYSTEM (ac4710bf-3ca8-4288-93f8-6eb495a0c054)
Message: Network map updated
Time: 1 hour, 29 minutes ago
[INFO] SYSTEM (90d3f4e9-dfad-4acc-a019-486415f65dbc)
Message: Network map updated
Time: 1 hour, 24 minutes ago
[INFO] SYSTEM (2bc48f3d-f60e-4626-8c48-841e3774d7ba)
Message: Network map updated
Time: 1 hour, 24 minutes ago
[WARNING] DNS (ddbf8dba-4b04-4451-9e10-7a186ef3a9aa)
Message: The host dns manager does not support match domains
Time: 1 hour, 16 minutes ago
Metadata: manager: resolvconf (openresolv)
[INFO] SYSTEM (66670ffe-2c87-49ea-aa12-ee10ceac2d2c)
Message: Network map updated
Time: 1 hour, 16 minutes ago
[INFO] SYSTEM (8abd7ff5-1bf5-47df-8478-9d777214f1e9)
Message: Network map updated
Time: 35 minutes, 52 seconds ago
OS: linux/amd64
Daemon version: 0.49.0
CLI version: 0.49.0
Management: Disconnected, reason: rpc error: code = DeadlineExceeded desc = context deadline exceeded
Signal: Connected to https://signal.netbird.io:443
Relays:
[stun:stun.netbird.io:443] is Available
[stun:stun.netbird.io:5555] is Available
[turns:turn.netbird.io:443?transport=tcp] is Available
[rels://streamline-ap-south-1b.relay.netbird.io:443] is Available
Nameservers:
FQDN: ares.netbird.cloud
NetBird IP: 100.113.148.130/16
Interface type: Kernel
Quantum resistance: false
Lazy connection: false
Networks: -
Forwarding rules: 0
Peers count: 1/2 Connected

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

f79e391890ab27fb37c88b3b4be7011e22aa2e5ca6f38ffa9c4481884941f726/ed8e96b5-0633-4f85-a34b-0c0432d15cc9

Screenshots

N.A

Additional context

journalctl logs:

Jul 28 06:14:20 ares netbird[2161]: 2025-07-28T06:14:20+05:30 DEBG client/internal/statemanager/manager.go:286: persisted states: [dns_state nftables_state], took 252.425µs
Jul 28 06:14:30 ares netbird[2161]: 2025-07-28T06:14:30+05:30 DEBG client/internal/dns/service_listener.go:108: registering dns handler for pattern: .
Jul 28 06:14:30 ares netbird[2161]: 2025-07-28T06:14:30+05:30 TRAC client/internal/dns/dbus_unix.go:28: error calling dbus: Could not activate remote peer 'org.freedesktop.resolve1': activation request failed: unknown unit
Jul 28 06:14:30 ares netbird[2161]: 2025-07-28T06:14:30+05:30 INFO client/internal/dns/host_unix.go:54: System DNS manager discovered: resolvconf
Jul 28 06:14:30 ares netbird[2161]: 2025-07-28T06:14:30+05:30 INFO client/internal/dns/resolvconf_unix.go:71: detected resolvconf type: openresolv
Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 DEBG client/internal/dns.go:114: added reverse DNS zone: 113.100.in-addr.arpa. with 3 records
Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 DEBG client/internal/dns/service_listener.go:69: starting dns on 100.113.148.130:53
Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 DEBG client/internal/dns/server.go:211: registering handler local resolver [0 records] with priority 100
Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 DEBG client/internal/dns/handler_chain.go:88: adding handler pattern: domain=netbird.cloud. original: domain=netbird.cloud. wildcard=false match_subdomain=true priority=100
Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 DEBG client/internal/dns/server.go:211: registering handler local resolver [0 records] with priority 100
Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 DEBG client/internal/dns/handler_chain.go:88: adding handler pattern: domain=113.100.in-addr.arpa. original: domain=113.100.in-addr.arpa. wildcard=false match_subdomain=true priority=100
Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 DEBG client/internal/dns/server.go:492: extra match domains: []
Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 ERRO client/internal/dns/server.go:495: failed to apply DNS host manager update: unable to configure DNS for this peer using file manager without a nameserver group with all domains configured
Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 DEBG client/internal/peer/status.go:1073: event published: id:"4c5bb1de-9636-40b3-8cdf-a374f76234d6" severity:WARNING category:DNS message:"The host dns manager does not support match domains" userMessage:"The host dns manager does not support match domains without a catch-all nameserver group." timestamp:{seconds:1753663475 nanos:615732178} metadata:{key:"manager" value:"resolvconf (openresolv)"}

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 @mathewp88 on GitHub (Jul 27, 2025). **Describe the problem** Using netbird on my machine, I am not able to use the dns resolver and cannot connect to other machines using ```<mahcine-x>.netbird.cloud```. I can still access other machines using the ip, and this issue is not present on my phone. The issue seems to be due to the ```/etc/resolvd.conf``` not being updated by ```netbird up```. Could it be as I am not ```using systemd-resolvd```? **To Reproduce** Steps to reproduce the behavior: 1. Run ```netbird up``` 3. Run ```ping <machne-x>.netbird.cloud``` 4. [See error](ping: <machine-x>.netbird.cloud: Name or service not known) **Expected behavior** The DNS should resolve normally. **Are you using NetBird Cloud?** Yes. **NetBird version** 0.49.0 **Is any other VPN software installed?** No **Debug output** Peers detail: nothing.netbird.cloud: NetBird IP: 100.113.x.xxx Public key: some-random-key1 Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 50 minutes, 21 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 3.729114ms hermes.netbird.cloud: NetBird IP: 100.113.xx.xxx Public key: some-random-key2 Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): host/prflx ICE candidate endpoints (Local/Remote): 10.148.xx.xxx:51820/10.148.83.252:51820 Relay server address: rels://streamline-sg-sin1-1.relay.netbird.io:443 Last connection update: 1 hour, 15 minutes ago Last WireGuard handshake: 17 seconds ago Transfer status (received/sent) 3.8 KiB/11.8 KiB Quantum resistance: false Networks: - Latency: 14.844165ms Events: [WARNING] DNS (98abf3bc-0ddf-4e48-9dae-28e12e190936) Message: The host dns manager does not support match domains Time: 1 hour, 33 minutes ago Metadata: manager: resolvconf (openresolv) [INFO] SYSTEM (8c50030e-e8ec-4149-92a4-8159442007d3) Message: Network map updated Time: 1 hour, 33 minutes ago [INFO] SYSTEM (4dcf6651-c5de-4e1a-bc5f-66f71110cf87) Message: Network map updated Time: 1 hour, 33 minutes ago [INFO] SYSTEM (b653289a-499a-486f-aa2a-52bddca885a5) Message: Network map updated Time: 1 hour, 29 minutes ago [INFO] SYSTEM (ac4710bf-3ca8-4288-93f8-6eb495a0c054) Message: Network map updated Time: 1 hour, 29 minutes ago [INFO] SYSTEM (90d3f4e9-dfad-4acc-a019-486415f65dbc) Message: Network map updated Time: 1 hour, 24 minutes ago [INFO] SYSTEM (2bc48f3d-f60e-4626-8c48-841e3774d7ba) Message: Network map updated Time: 1 hour, 24 minutes ago [WARNING] DNS (ddbf8dba-4b04-4451-9e10-7a186ef3a9aa) Message: The host dns manager does not support match domains Time: 1 hour, 16 minutes ago Metadata: manager: resolvconf (openresolv) [INFO] SYSTEM (66670ffe-2c87-49ea-aa12-ee10ceac2d2c) Message: Network map updated Time: 1 hour, 16 minutes ago [INFO] SYSTEM (8abd7ff5-1bf5-47df-8478-9d777214f1e9) Message: Network map updated Time: 35 minutes, 52 seconds ago OS: linux/amd64 Daemon version: 0.49.0 CLI version: 0.49.0 Management: Disconnected, reason: rpc error: code = DeadlineExceeded desc = context deadline exceeded Signal: Connected to https://signal.netbird.io:443 Relays: [stun:stun.netbird.io:443] is Available [stun:stun.netbird.io:5555] is Available [turns:turn.netbird.io:443?transport=tcp] is Available [rels://streamline-ap-south-1b.relay.netbird.io:443] is Available Nameservers: FQDN: ares.netbird.cloud NetBird IP: 100.113.148.130/16 Interface type: Kernel Quantum resistance: false Lazy connection: false Networks: - Forwarding rules: 0 Peers count: 1/2 Connected Create and upload a debug bundle, and share the returned file key: f79e391890ab27fb37c88b3b4be7011e22aa2e5ca6f38ffa9c4481884941f726/ed8e96b5-0633-4f85-a34b-0c0432d15cc9 **Screenshots** N.A **Additional context** journalctl logs: Jul 28 06:14:20 ares netbird[2161]: 2025-07-28T06:14:20+05:30 DEBG client/internal/statemanager/manager.go:286: persisted states: [dns_state nftables_state], took 252.425µs Jul 28 06:14:30 ares netbird[2161]: 2025-07-28T06:14:30+05:30 DEBG client/internal/dns/service_listener.go:108: registering dns handler for pattern: . Jul 28 06:14:30 ares netbird[2161]: 2025-07-28T06:14:30+05:30 TRAC client/internal/dns/dbus_unix.go:28: error calling dbus: Could not activate remote peer 'org.freedesktop.resolve1': activation request failed: unknown unit Jul 28 06:14:30 ares netbird[2161]: 2025-07-28T06:14:30+05:30 INFO client/internal/dns/host_unix.go:54: System DNS manager discovered: resolvconf Jul 28 06:14:30 ares netbird[2161]: 2025-07-28T06:14:30+05:30 INFO client/internal/dns/resolvconf_unix.go:71: detected resolvconf type: openresolv Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 DEBG client/internal/dns.go:114: added reverse DNS zone: 113.100.in-addr.arpa. with 3 records Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 DEBG client/internal/dns/service_listener.go:69: starting dns on 100.113.148.130:53 Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 DEBG client/internal/dns/server.go:211: registering handler local resolver [0 records] with priority 100 Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 DEBG client/internal/dns/handler_chain.go:88: adding handler pattern: domain=netbird.cloud. original: domain=netbird.cloud. wildcard=false match_subdomain=true priority=100 Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 DEBG client/internal/dns/server.go:211: registering handler local resolver [0 records] with priority 100 Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 DEBG client/internal/dns/handler_chain.go:88: adding handler pattern: domain=113.100.in-addr.arpa. original: domain=113.100.in-addr.arpa. wildcard=false match_subdomain=true priority=100 Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 DEBG client/internal/dns/server.go:492: extra match domains: [] Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 ERRO client/internal/dns/server.go:495: failed to apply DNS host manager update: unable to configure DNS for this peer using file manager without a nameserver group with all domains configured Jul 28 06:14:35 ares netbird[2161]: 2025-07-28T06:14:35+05:30 DEBG client/internal/peer/status.go:1073: event published: id:"4c5bb1de-9636-40b3-8cdf-a374f76234d6" severity:WARNING category:DNS message:"The host dns manager does not support match domains" userMessage:"The host dns manager does not support match domains without a catch-all nameserver group." timestamp:{seconds:1753663475 nanos:615732178} metadata:{key:"manager" value:"resolvconf (openresolv)"} **Have you tried these troubleshooting steps?** - [x] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [ ] 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:04:06 -05:00
Author
Owner

@lixmal commented on GitHub (Jul 29, 2025):

Please test the most recent release

@lixmal commented on GitHub (Jul 29, 2025): Please test the most recent release
Author
Owner

@mathewp88 commented on GitHub (Jul 30, 2025):

I got this issue:

failed to apply DNS host manager update: unable to configure DNS for this peer using file manager without a nameserver group with all domains configured

This is while I was using resolvconf, I think it could be fixed by just adding a name server through the admin panel. In the end I just ended up using systemd-resolved.

@mathewp88 commented on GitHub (Jul 30, 2025): I got this issue: ```failed to apply DNS host manager update: unable to configure DNS for this peer using file manager without a nameserver group with all domains configured``` This is while I was using ```resolvconf```, I think it could be fixed by just adding a name server through the admin panel. In the end I just ended up using ```systemd-resolved```.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2115