From d22d8ebfacf2a81b0faea52c3410db78a05c00b5 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 2 Jun 2020 09:07:02 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to apt run --- .etckeeper | 1 + resolv.conf | 7 ++++++- resolv.conf.link | 1 + systemd/resolved.conf | 4 ++-- 4 files changed, 10 insertions(+), 3 deletions(-) mode change 120000 => 100644 resolv.conf create mode 120000 resolv.conf.link diff --git a/.etckeeper b/.etckeeper index d4b3843..d6cc694 100755 --- a/.etckeeper +++ b/.etckeeper @@ -2594,6 +2594,7 @@ maybe chmod 0755 'request-key.d' maybe chmod 0644 'request-key.d/cifs.idmap.conf' maybe chmod 0644 'request-key.d/cifs.spnego.conf' maybe chmod 0644 'request-key.d/id_resolver.conf' +maybe chmod 0644 'resolv.conf' maybe chmod 0644 'resolv.conf.dpx' maybe chmod 0644 'resolv.conf.non-dpx' maybe chmod 0755 'resolvconf' diff --git a/resolv.conf b/resolv.conf deleted file mode 120000 index 697ba64..0000000 --- a/resolv.conf +++ /dev/null @@ -1 +0,0 @@ -../run/systemd/resolve/stub-resolv.conf \ No newline at end of file diff --git a/resolv.conf b/resolv.conf new file mode 100644 index 0000000..c3eb8f0 --- /dev/null +++ b/resolv.conf @@ -0,0 +1,6 @@ +search home.brehm-online.com brehm-online.com hennig-berlin.org uhu-banane.de uhu-banane.net +nameserver 127.0.0.1 +nameserver 1.1.1.1 +nameserver 8.8.8.8 +nameserver 8.8.4.4 +options timeout:1 attempts:2 use-vc diff --git a/resolv.conf.link b/resolv.conf.link new file mode 120000 index 0000000..697ba64 --- /dev/null +++ b/resolv.conf.link @@ -0,0 +1 @@ +../run/systemd/resolve/stub-resolv.conf \ No newline at end of file diff --git a/systemd/resolved.conf b/systemd/resolved.conf index 3758089..220c9b6 100644 --- a/systemd/resolved.conf +++ b/systemd/resolved.conf @@ -12,9 +12,9 @@ # See resolved.conf(5) for details [Resolve] -#DNS= +DNS=127.0.0.1 1.1.1.1 8.8.8.8 8.8.4.4 #FallbackDNS= -#Domains= +Domains=home.brehm-online.com brehm-online.com hennig-berlin.org uhu-banane.de uhu-banane.net #LLMNR=no #MulticastDNS=no #DNSSEC=no -- 2.39.5