summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BIND_Install.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/BIND_Install.txt b/BIND_Install.txt
index 0df226b..18c47e6 100644
--- a/BIND_Install.txt
+++ b/BIND_Install.txt
@@ -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)