blob: 0df226b885ae83f5e635a1952e770b687473a288 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
yum 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
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
service bind9 restart
dig @104.238.179.174 hivebedrock.network any
|