Skip to content

Commit

Permalink
Update BIND_Install.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Pugmatt authored Oct 25, 2020
1 parent 5141cb2 commit 1f0c151
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions BIND_Install.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
--== Ubuntu ==--
sudo apt install bind9

(Optional. Some hosts like Vultr don't allow hosting DNS servers with recursion)
sudo vi /etc/bind/named.conf.options
recursion no;
additional-from-cache no;

sudo vi /etc/bind/named.conf.local
zone "hivebedrock.network" IN {
type master;
file "db.hivebedrock.network";
allow-query { any; };
};


cd /var/cache/bind
sudo vi db.hivebedrock.network
@ in SOA hivebedrock.network. admin.hivebedrock.network. (
2014030801 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum

@ NS hivebedrock.network.

IN A 104.238.179.174



sudo service bind9 restart
dig @104.238.179.174 hivebedrock.network any

--== CentOS ==--

yum install bind9

(Optional. Some hosts like Vultr don't allow hosting DNS servers with recursion)
Expand Down

0 comments on commit 1f0c151

Please sign in to comment.