[GH-ISSUE #742] Netbird client is not clearing resolv.conf after shutdown #1261

Open
opened 2026-08-05 00:41:48 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @ykorzikowski on GitHub (Mar 14, 2023).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/742

Originally assigned to: @pascal-fischer on GitHub.

Describe the problem
I noticed, that on machine reboots or even when netbird is loosing connection, it fails to reconnect. Reason is, the netbird dns is still set in the resolv.conf, but netbird is not answering dns requests.

To Reproduce

  1. Installa netbird in any vm
  2. Do a dirty poweroff
  3. On reboot, netbird may fail connectiing

Expected behavior
Netbird can connect to the vpn server.

NetBird status -d output:
Not applicable

Possible workaround
Add your vpn server to hosts file, so it will always resolve.

Originally created by @ykorzikowski on GitHub (Mar 14, 2023). Original GitHub issue: https://github.com/netbirdio/netbird/issues/742 Originally assigned to: @pascal-fischer on GitHub. **Describe the problem** I noticed, that on machine reboots or even when netbird is loosing connection, it fails to reconnect. Reason is, the netbird dns is still set in the resolv.conf, but netbird is not answering dns requests. **To Reproduce** 1. Installa netbird in any vm 2. Do a dirty poweroff 3. On reboot, netbird may fail connectiing **Expected behavior** Netbird can connect to the vpn server. **NetBird status -d output:** Not applicable **Possible workaround** Add your vpn server to hosts file, so it will always resolve.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#1261