From e22699789812b1697ac5040e79afe60f488f9ff2 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 10 Apr 2019 09:59:19 +0200 Subject: [PATCH] Changing generation of /etc/resolv.conf --- bin/postinst | 4 +++- bin/postinst.chrony | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/postinst b/bin/postinst index 790ed20..8f7bf4b 100644 --- a/bin/postinst +++ b/bin/postinst @@ -258,12 +258,14 @@ manage_dns() { cat <<-EOF >"/etc/resolv.conf" search pixelpark.net pixelpark.com - nameserver 217.66.52.10 nameserver 93.188.109.13 + nameserver 217.66.52.10 nameserver 212.91.225.75 EOF + log "New /etc/resolv.conf:\n$(cat /etc/resolv.conf )" + } #----------------------------------------------------------- diff --git a/bin/postinst.chrony b/bin/postinst.chrony index 11cf56c..6b9d606 100644 --- a/bin/postinst.chrony +++ b/bin/postinst.chrony @@ -247,12 +247,14 @@ manage_dns() { cat <<-EOF >"/etc/resolv.conf" search pixelpark.net pixelpark.com - nameserver 217.66.52.10 nameserver 93.188.109.13 + nameserver 217.66.52.10 nameserver 212.91.225.75 EOF + log "New /etc/resolv.conf:\n$(cat /etc/resolv.conf )" + } #----------------------------------------------------------- -- 2.39.5