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