From 241405c776e4a3360c1cb536c3a78e28639577c8 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 10 Apr 2024 11:59:36 +0300 Subject: [PATCH] systemd-resolved: merge unbound.conf into 00-defaults.conf --- etc/systemd/resolved.conf.d/00-defaults.conf | 3 +++ etc/systemd/resolved.conf.d/unbound.conf | 12 ------------ 2 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 etc/systemd/resolved.conf.d/unbound.conf diff --git a/etc/systemd/resolved.conf.d/00-defaults.conf b/etc/systemd/resolved.conf.d/00-defaults.conf index 9b095a53..b1a6674f 100644 --- a/etc/systemd/resolved.conf.d/00-defaults.conf +++ b/etc/systemd/resolved.conf.d/00-defaults.conf @@ -7,3 +7,6 @@ DNSSEC=yes DNSOverTLS=opportunistic Cache=yes +# Local resolver should always be considered if it exists +DNS=127.0.0.1 +DNS=::1 diff --git a/etc/systemd/resolved.conf.d/unbound.conf b/etc/systemd/resolved.conf.d/unbound.conf deleted file mode 100644 index 2ca9ac6c..00000000 --- a/etc/systemd/resolved.conf.d/unbound.conf +++ /dev/null @@ -1,12 +0,0 @@ -# For binding systemd-resolved to Unbound -[Resolve] -DNS=127.0.0.1 -DNS=::1 -Domains=~. -# Done better by Unbound, no failed-auxiliary (https://github.com/systemd/systemd/issues/9867) -#DNSSEC=allow-downgrade -DNSSEC=yes -# Not needed on localhost -DNSOverTLS=no -# Done by Unbound -Cache=no