Resolvconf overwritten by netbird client #256

Closed
opened 2025-11-20 05:08:38 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @oskardotglobal on GitHub (Dec 16, 2022).

Describe the problem
Netbird keeps overwriting my /etc/resolv.conf on my Proxmox client.
Every time I connect it resets the resolvconf to this:

# Generated by NetBird
# If needed you can restore the original file by copying back /etc/resolv.conf.original.netbird

nameserver 100.72.227.101
search  netbird.selfhosted

Expected behavior
I don't want netbird to overwrite the resolvconf, maybe there should be an option in the /etc/netbird/config.json to disable it.

NetBird status -d output:

Peers detail:

 laptop.netbird.selfhosted:
  NetBird IP: 100.72.226.214
  Public key: <public key>
  Status: Disconnected
  -- detail --
  Connection type: -
  Direct: false
  ICE candidate (Local/Remote): -/-
  Last connection update: 2022-12-16 16:22:05

Daemon version: 0.11.5
CLI version: 0.11.5
Daemon status: Connected
Management: Connected to https://<my managment url>
Signal: Connected to https://<my signal url>
Domain: prod-local.netbird.selfhosted
NetBird IP: 100.72.227.101/16
Interface type: Kernel
Peers count: 2/3 Connected
Originally created by @oskardotglobal on GitHub (Dec 16, 2022). **Describe the problem** Netbird keeps overwriting my `/etc/resolv.conf` on my Proxmox client. Every time I connect it resets the resolvconf to this: ``` # Generated by NetBird # If needed you can restore the original file by copying back /etc/resolv.conf.original.netbird nameserver 100.72.227.101 search netbird.selfhosted ``` **Expected behavior** I don't want netbird to overwrite the resolvconf, maybe there should be an option in the `/etc/netbird/config.json` to disable it. **NetBird status -d output:** ``` Peers detail: laptop.netbird.selfhosted: NetBird IP: 100.72.226.214 Public key: <public key> Status: Disconnected -- detail -- Connection type: - Direct: false ICE candidate (Local/Remote): -/- Last connection update: 2022-12-16 16:22:05 Daemon version: 0.11.5 CLI version: 0.11.5 Daemon status: Connected Management: Connected to https://<my managment url> Signal: Connected to https://<my signal url> Domain: prod-local.netbird.selfhosted NetBird IP: 100.72.227.101/16 Interface type: Kernel Peers count: 2/3 Connected ```
Author
Owner

@oskardotglobal commented on GitHub (Dec 16, 2022):

Ok, thanks to the folks over at the Netbird slack channel I figured it out: if I disable DNS at the managment ui for that client then it works

@oskardotglobal commented on GitHub (Dec 16, 2022): Ok, thanks to the folks over at the Netbird slack channel I figured it out: if I disable DNS at the managment ui for that client then it works
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#256