From 4b946c62eaa1a345a007ea3175277025e137292f Mon Sep 17 00:00:00 2001 From: matt1432 Date: Tue, 21 Feb 2023 12:55:56 -0500 Subject: [PATCH] fix dns --- scripts/postinstall.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/postinstall.sh b/scripts/postinstall.sh index c334b17b..9755d5d7 100644 --- a/scripts/postinstall.sh +++ b/scripts/postinstall.sh @@ -15,6 +15,8 @@ EnableNetworkConfiguration=true EOF ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf +sed -i 's/#DNS=.*/DNS=100.64.0.1/' /etc/systemd/resolved.conf +sudo sed -i 's/#FallbackDNS=.*/FallbackDNS=1.1.1.1/' /etc/systemd/resolved.conf useradd -m matt -G wheel passwd matt