teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame 0001-Document-some-reasonable-DNS-servers-in-the-example-.patch

Zbigniew Jędrzejewski-Szmek 14b2fa
From b6c05e03c2e6e98e2f0f129ff5256780bb65bdb2 Mon Sep 17 00:00:00 2001
Zbigniew Jędrzejewski-Szmek 14b2fa
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Zbigniew Jędrzejewski-Szmek 14b2fa
Date: Tue, 6 Oct 2020 13:59:25 +0200
Zbigniew Jędrzejewski-Szmek 14b2fa
Subject: [PATCH] Document some reasonable DNS servers in the example config
Zbigniew Jędrzejewski-Szmek 14b2fa
 file
Zbigniew Jędrzejewski-Szmek 14b2fa
Zbigniew Jędrzejewski-Szmek 14b2fa
We have an option to set the fallback list, so we don't know what the contents
Zbigniew Jędrzejewski-Szmek 14b2fa
are. It may in fact be empty. Let's add some examples to make it easy for a user
Zbigniew Jędrzejewski-Szmek 14b2fa
stranded without any DNS to fill in something that would work. As a bonus, this
Zbigniew Jędrzejewski-Szmek 14b2fa
also gives names to the entries we provide by default.
Zbigniew Jędrzejewski-Szmek 14b2fa
(I added google and cloudflare because that's what we have currently, and quad9
Zbigniew Jędrzejewski-Szmek 14b2fa
because it seems to be a good privacy-concious and fast choice and was requested
Zbigniew Jędrzejewski-Szmek 14b2fa
in #12499. As a minimum, things we should include should be well-known global
Zbigniew Jędrzejewski-Szmek 14b2fa
services with a documented privacy policy and both IPv4 and IPv6 support and
Zbigniew Jędrzejewski-Szmek 14b2fa
decent response times.)
Zbigniew Jędrzejewski-Szmek 14b2fa
---
Zbigniew Jędrzejewski-Szmek 14b2fa
 src/resolve/resolved.conf.in | 4 ++++
Zbigniew Jędrzejewski-Szmek 14b2fa
 1 file changed, 4 insertions(+)
Zbigniew Jędrzejewski-Szmek 14b2fa
Zbigniew Jędrzejewski-Szmek 14b2fa
diff --git a/src/resolve/resolved.conf.in b/src/resolve/resolved.conf.in
Zbigniew Jędrzejewski-Szmek 14b2fa
index 082ad71626..514021792f 100644
Zbigniew Jędrzejewski-Szmek 14b2fa
--- a/src/resolve/resolved.conf.in
Zbigniew Jędrzejewski-Szmek 14b2fa
+++ b/src/resolve/resolved.conf.in
Zbigniew Jędrzejewski-Szmek 14b2fa
@@ -12,6 +12,10 @@
Zbigniew Jędrzejewski-Szmek 14b2fa
 # See resolved.conf(5) for details
Zbigniew Jędrzejewski-Szmek 14b2fa
 
Zbigniew Jędrzejewski-Szmek 14b2fa
 [Resolve]
Zbigniew Jędrzejewski-Szmek 14b2fa
+# Some examples of DNS servers which may be used for DNS= and FallbackDNS=:
Zbigniew Jędrzejewski-Szmek 14b2fa
+# Cloudflare: 1.1.1.1 1.0.0.1 2606:4700:4700::1111 2606:4700:4700::1001
Zbigniew Jędrzejewski-Szmek 14b2fa
+# Google:     8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844
Zbigniew Jędrzejewski-Szmek 14b2fa
+# Quad9:      9.9.9.9 2620:fe::fe
Zbigniew Jędrzejewski-Szmek 14b2fa
 #DNS=
Zbigniew Jędrzejewski-Szmek 14b2fa
 #FallbackDNS=@DNS_SERVERS@
Zbigniew Jędrzejewski-Szmek 14b2fa
 #Domains=