forked from Pugmatt/BedrockConnect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BIND_Install.txt
68 lines (48 loc) · 1.82 KB
/
BIND_Install.txt
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
--== 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)
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