[GH-ISSUE #1799] if the client runs a dns it cause an error in netbird #3395

Open
opened 2026-08-05 00:52:11 -04:00 by saavagebueno · 5 comments
Owner

Originally created by @lfarkas on GitHub (Apr 4, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1799

We run the latest version of netbird clients v0.27.0.
Some of our netbird clients run a bind/named dns on the host. Even if named listen only on other interfaces (ie not on wt0) on these peers the log contains such and error message:

2024-04-04T22:49:01+02:00 WARN client/internal/dns/server.go:317: the DNS manager of this peer doesn't support custom port. Disabling primary DNS setup. Learn more at: https://docs.netbird.io/how-to/manage-dns-in-your-network#local-resolver
2024-04-04T22:49:01+02:00 ERRO client/internal/dns/server.go:323: unable to parse ip address, error: ParseAddr(""): unable to parse IP

in /etc/netbird/config.json the dns setting is (as it's generated):
"CustomDNSAddress": "",

Originally created by @lfarkas on GitHub (Apr 4, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1799 We run the latest version of netbird clients v0.27.0. Some of our netbird clients run a bind/named dns on the host. Even if named listen only on other interfaces (ie not on wt0) on these peers the log contains such and error message: ``` 2024-04-04T22:49:01+02:00 WARN client/internal/dns/server.go:317: the DNS manager of this peer doesn't support custom port. Disabling primary DNS setup. Learn more at: https://docs.netbird.io/how-to/manage-dns-in-your-network#local-resolver 2024-04-04T22:49:01+02:00 ERRO client/internal/dns/server.go:323: unable to parse ip address, error: ParseAddr(""): unable to parse IP ``` in `/etc/netbird/config.json` the dns setting is (as it's generated): `"CustomDNSAddress": "",`
saavagebueno added the bugwaiting-feedbacktriage-needed labels 2026-08-05 00:52:11 -04:00
Author
Owner

@braginini commented on GitHub (Apr 5, 2024):

Hey @lfarkas
Could you please elaborate on what is exactly the issue? DNS doesn’t work on these machines?

<!-- gh-comment-id:2039518409 --> @braginini commented on GitHub (Apr 5, 2024): Hey @lfarkas Could you please elaborate on what is exactly the issue? DNS doesn’t work on these machines?
Author
Owner

@lfarkas commented on GitHub (Apr 5, 2024):

the strange thing it's working, but i assume if on a well configured machine i've got an error in the log file it seems to me a bug. or at least should have to be fixed.

<!-- gh-comment-id:2039523251 --> @lfarkas commented on GitHub (Apr 5, 2024): the strange thing it's working, but i assume if on a well configured machine i've got an error in the log file it seems to me a bug. or at least should have to be fixed.
Author
Owner

@braginini commented on GitHub (Apr 5, 2024):

That rather has to be a warning or not logged at all, as NetBird tries to parse nonexistent DNS. We will have a look. Thanks for reporting!

<!-- gh-comment-id:2039925571 --> @braginini commented on GitHub (Apr 5, 2024): That rather has to be a warning or not logged at all, as NetBird tries to parse nonexistent DNS. We will have a look. Thanks for reporting!
Author
Owner

@nazarewk commented on GitHub (Apr 23, 2025):

@lfarkas is this still an issue for you with latest NetBird version?

<!-- gh-comment-id:2823788347 --> @nazarewk commented on GitHub (Apr 23, 2025): @lfarkas is this still an issue for you with latest NetBird version?
Author
Owner

@lfarkas commented on GitHub (Apr 23, 2025):

the above disappear. although another once appear:

2025-04-23T12:30:49+02:00 ERRO client/internal/dns/server.go:497: 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
<!-- gh-comment-id:2823844884 --> @lfarkas commented on GitHub (Apr 23, 2025): the above disappear. although another once appear: ``` 2025-04-23T12:30:49+02:00 ERRO client/internal/dns/server.go:497: 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 ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#3395