Update page 'Setting up a .tilde DNS server'
parent
3ee5a5d4af
commit
52f9d42d14
|
@ -3,7 +3,10 @@ Thankfully, most of the work has been figured out already. So, until we get an
|
||||||
# Ubuntu
|
# Ubuntu
|
||||||
Execute the following:
|
Execute the following:
|
||||||
```
|
```
|
||||||
|
sudo apt update
|
||||||
|
sudo apt -y upgrade
|
||||||
sudo apt -y install bind9 git
|
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
|
cd /var
|
||||||
sudo git clone https://tildegit.org/.tilde/.tilde.git
|
sudo git clone https://tildegit.org/.tilde/.tilde.git
|
||||||
sudo mv .tilde tilde
|
sudo mv .tilde tilde
|
||||||
|
@ -11,6 +14,7 @@ cd /var/tilde
|
||||||
sudo cp db.* /etc/bind/
|
sudo cp db.* /etc/bind/
|
||||||
sudo cp named.conf.* /etc/bind/
|
sudo cp named.conf.* /etc/bind/
|
||||||
sudo systemctl restart bind9
|
sudo systemctl restart bind9
|
||||||
|
sleep 3
|
||||||
sudo journalctl -xe
|
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:
|
To update the zone files, go to /var/tilde, and execute:
|
||||||
```
|
```
|
||||||
|
cd /var/tilde/
|
||||||
sudo git pull
|
sudo git pull
|
||||||
sudo cp db.* /etc/bind/
|
sudo cp db.* /etc/bind/
|
||||||
sudo cp named.conf.* /etc/bind/
|
sudo cp named.conf.* /etc/bind/
|
||||||
|
|
Loading…
Reference in New Issue