[PR #3584] [client] Disable systemd-resolved default route explicitly on match domains only #3813

Closed
opened 2025-11-20 08:07:07 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/netbirdio/netbird/pull/3584

State: closed
Merged: Yes


Describe your changes

systemd-resolved sets the default route by default even when not requested. This change sets it to off if we're not handling the root zone.

Link 9 (wt0)
Current Scopes: DNS
-     Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
+     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
   DNS Servers: 100.64.107.240
    DNS Domain: netbird.cloud 64.100.in-addr.arpa

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary
**Original Pull Request:** https://github.com/netbirdio/netbird/pull/3584 **State:** closed **Merged:** Yes --- ## Describe your changes systemd-resolved sets the default route by default even when not requested. This change sets it to off if we're not handling the root zone. ```diff Link 9 (wt0) Current Scopes: DNS - Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported + Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported DNS Servers: 100.64.107.240 DNS Domain: netbird.cloud 64.100.in-addr.arpa ``` ## Issue ticket number and link ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary
saavagebueno added the pull-request label 2025-11-20 08:07:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#3813