Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing error message with resolvconf DNS manager #2734

Open
QazerLab opened this issue Oct 14, 2024 · 0 comments
Open

Confusing error message with resolvconf DNS manager #2734

QazerLab opened this issue Oct 14, 2024 · 0 comments

Comments

@QazerLab
Copy link

QazerLab commented Oct 14, 2024

Describe the problem

I'm facing a behavior that seems a bit strange for me (as a user), and I'm not sure how to treat and fix the error below.

There is a netbird network with some private hosts behind it and a private DNS server is set up in this network to resolve private domain names for these hosts. I can connect to this network successfully, but it seems that netbird refuses to change my local DNS settings, if I use openresolv:

ERRO client/internal/dns/server.go:322: unable to configure DNS for this peer using resolvconf manager without a nameserver group with all domains configured
...
ERRO [nameservers: [{10.200.0.2 udp 53}]] client/internal/dns/server.go:525: Failed to apply nameserver deactivation on the host: unable to configure DNS for this peer using resolvconf manager without a nameserver group with all domains configured

However, if I switch from openresolv to systemd-resolved, everything works fine (DNS traffic for private domains is routed to netbird's wt0 interface and then, I believe, netbird somehow forwards it to the destination DNS server advertised by the network):

$ resolvectl status
...
Link 4 (wt0)
...
Current DNS Server: <wt0 address>
DNS Domain: [<private domain zones list>]

$ netbird status -d
OS: linux/amd64
...
Nameservers:
  [10.200.0.2:53] for [<private domain zones list>] is Available

My question is: given that network itself is fully functional (and everything works well with a different DNS manager), what is the problem with openresolv? I'm not sure how to interpret the error message above and what does it mean at all; I believe that the error reason is trivial, but the error message seems to be somewhat obscure to me.

Are you using NetBird Cloud?

No

NetBird version

0.28.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant