diff --git a/scripts/dns.sh b/scripts/dns.sh index 13f9cc98..14f10b2f 100644 --- a/scripts/dns.sh +++ b/scripts/dns.sh @@ -9,6 +9,14 @@ # Install nsd, our DNS server software. +# ...but first, we have to create the user because the +# current Ubuntu forgets to do so in the .deb +if id nsd > /dev/null 2>&1; then + echo "nsd user exists... good"; +else + useradd nsd; +if + apt-get -qq -y install nsd # Prepare nsd's configuration.