From 511cec74038e4ea08ace3434ceeed0b068cf9419 Mon Sep 17 00:00:00 2001 From: Steven Foerster Date: Sat, 25 Apr 2020 15:06:35 -0400 Subject: [PATCH] resolvconf tail --- scripts/install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install.sh b/scripts/install.sh index 6857ea7..f8aba99 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -226,6 +226,7 @@ echo "address=/.mistborn/10.2.3.1" | sudo tee ../mistborn_volumes/base/pihole/et # ResolvConf (OpenResolv installed with Wireguard) sudo sed -i "s/#name_servers.*/name_servers=$IPV4_PUBLIC/" /etc/resolvconf.conf sudo sed -i "s/name_servers.*/name_servers=$IPV4_PUBLIC/" /etc/resolvconf.conf +echo "nameserver $IPV4_PUBLIC" | sudo tee /etc/resolvconf/resolv.conf.d/tail #sudo sed -i "s/#name_servers.*/name_servers=127.0.0.1/" /etc/resolvconf.conf sudo resolvconf -u 1>/dev/null 2>&1