Can NetBird match domains via suffix in the DNS feature? #1925

Open
opened 2025-11-20 06:09:21 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @HammyHavoc on GitHub (May 28, 2025).

Hi all,

Is there a way for NetBird to match domains via suffix in the DNS feature? Any boolean for RegEx versus Strict for this in terms of config that I'm overlooking? Might be a solution to my other Issue on https://github.com/netbirdio/netbird/issues/3892.

E.g., route all domains with suffix of say .netbird.selfhosted to a specific resolver.

Another good one—hypothetically at least—routing suffixes based on currently detected geographic country of the peer machine versus country of the suffix, e.g., if a peer machine requests a .fr and the user is currently abroad seeing family in the USA, then it'll be resolved by different DNS to bypass any region restrictions that may otherwise arise when they're state-side.

Not sure if there are better ways to handle that, but perhaps someone better informed about NetBird will have some further insight. :- )

Originally created by @HammyHavoc on GitHub (May 28, 2025). Hi all, Is there a way for NetBird to match domains via suffix in the `DNS` feature? Any boolean for `RegEx` versus `Strict` for this in terms of config that I'm overlooking? Might be a solution to my other `Issue` on https://github.com/netbirdio/netbird/issues/3892. E.g., route all domains with suffix of say `.netbird.selfhosted` to a specific resolver. Another good one—hypothetically at least—routing suffixes based on currently detected geographic country of the peer machine versus country of the suffix, e.g., if a peer machine requests a `.fr` and the user is currently abroad seeing family in the USA, then it'll be resolved by different DNS to bypass any region restrictions that may otherwise arise when they're state-side. Not sure if there are better ways to handle that, but perhaps someone better informed about NetBird will have some further insight. :- )
saavagebueno added the triage-needed label 2025-11-20 06:09:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1925