[GH-ISSUE #3225] Specific DNS Match Not Prioritized Over General Match #6850

Closed
opened 2026-08-05 01:10:26 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @JonathanManass on GitHub (Jan 22, 2025).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/3225

Describe the problem

When Creating two DNS entries it is not using the more precise one.
E.g. I If I nslookup a.example.com it is using the first more general match domain, when I'd like it to use the second.

To Reproduce

  • Create a DNS with match domain example.com
  • Create a second DNS with match domain a.example.com

Expected behavior

I would want it to use the Nameserver of the second DNS if searching for a.example.com and the first for any subdomain other than a
Instead for me it is using the first Nameserver even when searching for a.example.com

Are you using NetBird Cloud?

Self Hosted Version 0.36.3

NetBird version

0.36.3

NetBird status -dA output:

It does show both DNS entries like

Nameservers:
[x:53, x:53] for [example.com] is Available
[x:53] for [a.example.com] is Available

Originally created by @JonathanManass on GitHub (Jan 22, 2025). Original GitHub issue: https://github.com/netbirdio/netbird/issues/3225 **Describe the problem** When Creating two DNS entries it is not using the more precise one. E.g. I If I nslookup *a.example.com* it is using the first more general match domain, when I'd like it to use the second. **To Reproduce** - Create a DNS with match domain *example.com* - Create a second DNS with match domain *a.example.com* **Expected behavior** I would want it to use the Nameserver of the second DNS if searching for a.example.com and the first for any subdomain other than a Instead for me it is using the first Nameserver even when searching for a.example.com **Are you using NetBird Cloud?** Self Hosted Version 0.36.3 **NetBird version** 0.36.3 **NetBird status -dA output:** It does show both DNS entries like Nameservers: [x:53, x:53] for [example.com] is Available [x:53] for [a.example.com] is Available
saavagebueno added the clientdns labels 2026-08-05 01:10:26 -04:00
Sign in to join this conversation.
No Label client dns
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#6850