From 32caedbc1048cd52d5a7380dc8f0994b2f60565457634932e46770d87cde28b3 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Wed, 26 Jan 2022 17:34:15 +0000 Subject: [PATCH] - resolved: disable fallback DNS servers and fail when no DNS server info could be obtained from the links. It's better to let the sysadmin know that something is likely misconfigured rather than silently handing over the DNS queries to Google or Cloudflare. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1234 --- systemd.changes | 8 ++++++++ systemd.spec | 1 + 2 files changed, 9 insertions(+) diff --git a/systemd.changes b/systemd.changes index 0bcbd1fa..3caf8209 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Jan 26 17:34:28 UTC 2022 - Franck Bui + +- resolved: disable fallback DNS servers and fail when no DNS server info could + be obtained from the links. It's better to let the sysadmin know that + something is likely misconfigured rather than silently handing over the DNS + queries to Google or Cloudflare. + ------------------------------------------------------------------- Wed Jan 26 15:20:57 UTC 2022 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 7f248fdd..cbcae9fc 100644 --- a/systemd.spec +++ b/systemd.spec @@ -702,6 +702,7 @@ Have fun with these services at your own risk. %if %{without resolved} -Dresolve=false \ %else + -Ddns-servers='' \ -Ddefault-dnssec=no \ -Ddns-over-tls=openssl \ %endif