[GH-ISSUE #1483] Domain names for Netbird peers not working on Debian 12 #2507

Open
opened 2026-08-05 00:47:32 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @zbynekwinkler on GitHub (Jan 19, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1483

Describe the problem
I can ping a peer by its IPv4 address but not by its name. When I try, ping says Name or service not known. It works on Windows 11 on a different peer.

To Reproduce
Steps to reproduce the behavior:

  1. Copy a peer numeric ip from https://app.netbird.io/peers
  2. ping <ip>
  3. Copy a peer name from https://app.netbird.io/peers
  4. ping <name>

Expected behavior
Both work the same.

Additional context
Possibly related lines from logfile:

2024-01-19T10:51:05+01:00 ERRO client/internal/dns/server.go:168: got error while restoring the /etc/resolv.conf file from /etc/resolv.conf.original.netbird. Error: got an error while checking stats for /etc/resolv.conf.original.netbird file when copying it. Error: stat /etc/resolv.conf.original.netbird: no such file or directory

2024-01-19T10:51:13+01:00 ERRO client/internal/dns/server.go:282: unable to configure DNS for this peer using file manager without a nameserver group with all domains configured
Originally created by @zbynekwinkler on GitHub (Jan 19, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1483 **Describe the problem** I can ping a peer by its IPv4 address but not by its name. When I try, ping says `Name or service not known`. It works on Windows 11 on a different peer. **To Reproduce** Steps to reproduce the behavior: 1. Copy a peer numeric ip from https://app.netbird.io/peers 2. ping \<ip> 3. Copy a peer name from https://app.netbird.io/peers 4. ping \<name> **Expected behavior** Both work the same. **Additional context** Possibly related lines from logfile: ``` 2024-01-19T10:51:05+01:00 ERRO client/internal/dns/server.go:168: got error while restoring the /etc/resolv.conf file from /etc/resolv.conf.original.netbird. Error: got an error while checking stats for /etc/resolv.conf.original.netbird file when copying it. Error: stat /etc/resolv.conf.original.netbird: no such file or directory 2024-01-19T10:51:13+01:00 ERRO client/internal/dns/server.go:282: unable to configure DNS for this peer using file manager without a nameserver group with all domains configured ```
saavagebueno added the bugclientdns labels 2026-08-05 00:47:32 -04:00
Sign in to join this conversation.
No Label bug client dns
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#2507