diff --git a/Setting-up-a-.tilde-DNS-server.md b/Setting-up-a-.tilde-DNS-server.md index ac0caec..c49c47d 100644 --- a/Setting-up-a-.tilde-DNS-server.md +++ b/Setting-up-a-.tilde-DNS-server.md @@ -3,7 +3,10 @@ Thankfully, most of the work has been figured out already. So, until we get an # Ubuntu Execute the following: ``` +sudo apt update +sudo apt -y upgrade sudo apt -y install bind9 git +sudo git config --global http.sslVerify false # Yes, I know this is unsafe, working on a fix cd /var sudo git clone https://tildegit.org/.tilde/.tilde.git sudo mv .tilde tilde @@ -11,6 +14,7 @@ cd /var/tilde sudo cp db.* /etc/bind/ sudo cp named.conf.* /etc/bind/ sudo systemctl restart bind9 +sleep 3 sudo journalctl -xe ``` @@ -18,6 +22,7 @@ The last command should tell you if bind9 reloaded successfully, and if it did n To update the zone files, go to /var/tilde, and execute: ``` +cd /var/tilde/ sudo git pull sudo cp db.* /etc/bind/ sudo cp named.conf.* /etc/bind/