From 76117a6e744b94e5c3dd0f50e9f2dc3bc848a999 Mon Sep 17 00:00:00 2001 From: lub Date: Sun, 21 Feb 2021 00:27:10 +0100 Subject: [PATCH] add local resolver --- config/etc/resolv.conf | 3 +-- post-debootstrap-installer.sh | 6 ++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config/etc/resolv.conf b/config/etc/resolv.conf index 14368e2..bbc8559 100644 --- a/config/etc/resolv.conf +++ b/config/etc/resolv.conf @@ -1,2 +1 @@ -nameserver 1.1.1.1 -nameserver 8.8.8.8 \ No newline at end of file +nameserver 127.0.0.1 diff --git a/post-debootstrap-installer.sh b/post-debootstrap-installer.sh index a1c5b31..22f85e8 100755 --- a/post-debootstrap-installer.sh +++ b/post-debootstrap-installer.sh @@ -75,6 +75,12 @@ apt-get -y install chrony +### dns + +apt-get -y install unbound + + + ### Docker # has to be executed before the users section, # because otherwise the docker group doesn't exist