Skip to content

feat: switch DNS resolver to Unbound from systemd-resolved#1365

Merged
RoyalOughtness merged 4 commits intolivefrom
staging
Sep 19, 2025
Merged

feat: switch DNS resolver to Unbound from systemd-resolved#1365
RoyalOughtness merged 4 commits intolivefrom
staging

Conversation

@alexvojproc
Copy link
Copy Markdown
Collaborator

This PR switches the local DNS stub resolver to Unbound, due to systemd-resolved's unreliable DNSSEC validation and broader concerns. See #1174.

Changelog:

  • Remove systemd-resolved and install dnsconfd-unbound
  • Harden unbound.service and configure Unbound
  • Harden dnsconfd.service
  • Migrate existing configuration to NetworkManager with secureblue-migrate-dns.service
  • Refactor ujust dns-selector and rewrite in Python using sandboxing framework
  • Rewrite ujust audit-secureblue audit_dns()
  • Update i18n for ujust audit-secureblue
  • Added integration test

Not included in this PR:

  • Per-connection DNS, to simplify configuration of DNS with VPNs and work/public networks
    • Also VPN-enlightened ujust audit-secureblue
  • Zero-trust DNS even in Anaconda by setting kargs, so no leaks (possible from F43)
  • Investigation needed for GNOME's overly strict GUI DNS validation
  • DNS allowlisting

@RoyalOughtness RoyalOughtness enabled auto-merge (squash) September 19, 2025 18:24
@RoyalOughtness RoyalOughtness merged commit e4c2941 into live Sep 19, 2025
38 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants