[GH-ISSUE #2241] FR: EDNS option support #4728

Open
opened 2026-08-05 00:59:26 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @mrbluecoat on GitHub (Jul 5, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/2241

What are you trying to do?

Set EDNS option 65002 per machine.

Some may be interested in other EDNS options than 65002, such as dnsmasq and Cisco Umbrella: https://github.com/vttale/edns0-clientid/blob/master/README.md?plain=1#L104-L112

EDNS0 ranges per RFC6891
*  0-4 assigned, per references in the registry
*  5-65000 Available for assignment, unassigned
*  65001-65534 Local/Experimental use
*  65535 Reserved for future expansion

How should we solve this?

https://github.com/Safe-Surfer/Core/blob/main/guides/per-user-and-device-filtering.md#using-dns-tokens shows an example of including it in a dig lookup. Here's an example for CoreDNS: https://coredns.io/plugins/rewrite/#edns0-options

What is the impact of not solving this?

The current NetBird DNS nameserver options only support IPv4 and IPv6. We can use this option but then all traffic appears to come from either the exit node (if used) or a constantly changing IP address (if a roaming mobile device).

Anything else?

Supporting custom DNS over HTTPS (DoH) or DNS over TLS (DoT) would also solve this use case.

Originally created by @mrbluecoat on GitHub (Jul 5, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/2241 ### What are you trying to do? Set `EDNS option 65002` per machine. Some may be interested in other EDNS options than 65002, such as dnsmasq and Cisco Umbrella: https://github.com/vttale/edns0-clientid/blob/master/README.md?plain=1#L104-L112 ``` EDNS0 ranges per RFC6891 * 0-4 assigned, per references in the registry * 5-65000 Available for assignment, unassigned * 65001-65534 Local/Experimental use * 65535 Reserved for future expansion ``` ### How should we solve this? https://github.com/Safe-Surfer/Core/blob/main/guides/per-user-and-device-filtering.md#using-dns-tokens shows an example of including it in a `dig` lookup. Here's an example for CoreDNS: https://coredns.io/plugins/rewrite/#edns0-options ### What is the impact of not solving this? The current [NetBird DNS nameserver options](https://docs.netbird.io/how-to/manage-dns-in-your-network#creating-custom-nameservers) only support IPv4 and IPv6. We can use this option but then all traffic appears to come from either the exit node (if used) or a constantly changing IP address (if a roaming mobile device). ### Anything else? Supporting custom DNS over HTTPS (DoH) or DNS over TLS (DoT) would also solve this use case.
saavagebueno added the feature-requestdns labels 2026-08-05 00:59:26 -04:00
Sign in to join this conversation.
No Label dns feature-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#4728