services/dns/Configuration.md
... ...
@@ -1,6 +1,6 @@
1 1
# Forwarder setup
2 2
3
-Configuration of common resolver softwares, to forward DNS queries for `.dn42` (and reverse DNS) to `172.22.0.53`.
3
+Configuration of common resolver softwares, to forward DNS queries for `.dn42` (and reverse DNS) to `172.23.0.53`.
4 4
5 5
## BIND
6 6
... ...
@@ -10,19 +10,19 @@ by adding the following to /etc/bind/named.conf.local
10 10
```
11 11
zone "dn42" {
12 12
type forward;
13
- forwarders { 172.22.0.53; };
13
+ forwarders { 172.23.0.53; };
14 14
};
15 15
zone "20.172.in-addr.arpa" {
16 16
type forward;
17
- forwarders { 172.22.0.53; };
17
+ forwarders { 172.23.0.53; };
18 18
};
19 19
zone "22.172.in-addr.arpa" {
20 20
type forward;
21
- forwarders { 172.22.0.53; };
21
+ forwarders { 172.23.0.53; };
22 22
};
23 23
zone "23.172.in-addr.arpa" {
24 24
type forward;
25
- forwarders { 172.22.0.53; };
25
+ forwarders { 172.23.0.53; };
26 26
};
27 27
```
28 28
... ...
@@ -35,10 +35,10 @@ config dnsmasq
35 35
option boguspriv '0'
36 36
option rebind_protection '1'
37 37
list rebind_domain 'dn42'
38
- list server '/dn42/172.22.0.53'
39
- list server '/20.172.in-addr.arpa/172.22.0.53'
40
- list server '/22.172.in-addr.arpa/172.22.0.53'
41
- list server '/23.172.in-addr.arpa/172.22.0.53'
38
+ list server '/dn42/172.23.0.53'
39
+ list server '/20.172.in-addr.arpa/172.23.0.53'
40
+ list server '/22.172.in-addr.arpa/172.23.0.53'
41
+ list server '/23.172.in-addr.arpa/172.23.0.53'
42 42
```
43 43
44 44
to `/etc/config/dhcp` and run `/etc/init.d/dnsmasq` restart. After that you are able to resolve `.dn42`
... ...
@@ -49,10 +49,10 @@ Attention: If you go with the default config you'll have to disable "boguspriv"
49 49
For normal dnsmasq use
50 50
51 51
```
52
-server=/dn42/172.22.0.53
53
-server=/20.172.in-addr.arpa/172.22.0.53
54
-server=/22.172.in-addr.arpa/172.22.0.53
55
-server=/23.172.in-addr.arpa/172.22.0.53
52
+server=/dn42/172.23.0.53
53
+server=/20.172.in-addr.arpa/172.23.0.53
54
+server=/22.172.in-addr.arpa/172.23.0.53
55
+server=/23.172.in-addr.arpa/172.23.0.53
56 56
```
57 57
in `dnsmasq.conf`.
58 58
... ...
@@ -61,14 +61,14 @@ Add this to /etc/powerdns/recursor.conf (at least in Debian and CentOS), the **f
61 61
62 62
```
63 63
dont-query=127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, ::1/128, fe80::/10
64
-forward-zones-recurse=dn42=172.22.0.53,hack=172.22.0.53,ffhh=172.22.0.53,ffac=172.22.0.53,020=172.22.0.53,adm=172.22.0.53,ffa=172.22.0.53,ffhb=172.22.0.53,ffc=172.22.0.53,ffda=172.22.0.53,ffdh=172.22.0.53,ff3l=172.22.0.53,fffl=172.22.0.53,ffffm=172.22.0.53,fffr=172.22.0.53,fffd=172.22.0.53,ffgl=172.22.0.53,fflln=172.22.0.53,ffbcd=172.22.0.53,ffbgl=172.22.0.53,ffgoe=172.22.0.53,ffgt=172.22.0.53,ffh=172.22.0.53,helgo=172.22.0.53,ffhef=172.22.0.53,ffj=172.22.0.53,ffka=172.22.0.53,ffki=172.22.0.53,ffhl=172.22.0.53,fflux=172.22.0.53,ffms=172.22.0.53,mueritz=172.22.0.53,ffnord=172.22.0.53,ffnw=172.22.0.53,ffoh=172.22.0.53,ffpb=172.22.0.53,ffpi=172.22.0.53,ffrade=172.22.0.53,ffrgb=172.22.0.53,ffrg=172.22.0.53,rzl=172.22.0.53,ffsaar=172.22.0.53,fftr=172.22.0.53,fftdf=172.22.0.53,ffwk=172.22.0.53,ffgro=172.22.0.53,ffwk=172.22.0.53,ffwp=172.22.0.53,ffw=172.22.0.53,20.172.in-addr.arpa=172.22.0.53,22.172.in-addr.arpa=172.22.0.53,23.172.in-addr.arpa=172.22.0.53,31.172.in-addr.arpa=172.22.0.53,c.f.ip6.arpa=172.22.0.53
64
+forward-zones-recurse=dn42=172.23.0.53,hack=172.23.0.53,ffhh=172.23.0.53,ffac=172.23.0.53,020=172.23.0.53,adm=172.23.0.53,ffa=172.23.0.53,ffhb=172.23.0.53,ffc=172.23.0.53,ffda=172.23.0.53,ffdh=172.23.0.53,ff3l=172.23.0.53,fffl=172.23.0.53,ffffm=172.23.0.53,fffr=172.23.0.53,fffd=172.23.0.53,ffgl=172.23.0.53,fflln=172.23.0.53,ffbcd=172.23.0.53,ffbgl=172.23.0.53,ffgoe=172.23.0.53,ffgt=172.23.0.53,ffh=172.23.0.53,helgo=172.23.0.53,ffhef=172.23.0.53,ffj=172.23.0.53,ffka=172.23.0.53,ffki=172.23.0.53,ffhl=172.23.0.53,fflux=172.23.0.53,ffms=172.23.0.53,mueritz=172.23.0.53,ffnord=172.23.0.53,ffnw=172.23.0.53,ffoh=172.23.0.53,ffpb=172.23.0.53,ffpi=172.23.0.53,ffrade=172.23.0.53,ffrgb=172.23.0.53,ffrg=172.23.0.53,rzl=172.23.0.53,ffsaar=172.23.0.53,fftr=172.23.0.53,fftdf=172.23.0.53,ffwk=172.23.0.53,ffgro=172.23.0.53,ffwk=172.23.0.53,ffwp=172.23.0.53,ffw=172.23.0.53,20.172.in-addr.arpa=172.23.0.53,22.172.in-addr.arpa=172.23.0.53,23.172.in-addr.arpa=172.23.0.53,31.172.in-addr.arpa=172.23.0.53,c.f.ip6.arpa=172.23.0.53
65 65
```
66 66
67 67
## MaraDNS
68 68
Put this in your mararc:
69 69
70 70
```
71
-ipv4_alias["dn42_root"] = "172.22.0.53"
71
+ipv4_alias["dn42_root"] = "172.23.0.53"
72 72
root_servers["dn42."] = "dn42_root"
73 73
root_servers["20.172.in-addr.arpa."] = "dn42_root"
74 74
root_servers["22.172.in-addr.arpa."] = "dn42_root"
... ...
@@ -77,7 +77,7 @@ root_servers["23.172.in-addr.arpa."] = "dn42_root"
77 77
78 78
## Unbound
79 79
80
-`unbound.conf` for forwarding requests to `172.22.0.53`.
80
+`unbound.conf` for forwarding requests to `172.23.0.53`.
81 81
82 82
83 83
```
... ...
@@ -90,23 +90,23 @@ server:
90 90
91 91
forward-zone:
92 92
name: "dn42"
93
- forward-addr: 172.22.0.53
93
+ forward-addr: 172.23.0.53
94 94
95 95
forward-zone:
96 96
name: "20.172.in-addr.arpa"
97
- forward-addr: 172.22.0.53
97
+ forward-addr: 172.23.0.53
98 98
99 99
forward-zone:
100 100
name: "22.172.in-addr.arpa"
101
- forward-addr: 172.22.0.53
101
+ forward-addr: 172.23.0.53
102 102
103 103
forward-zone:
104 104
name: "23.172.in-addr.arpa"
105
- forward-addr: 172.22.0.53
105
+ forward-addr: 172.23.0.53
106 106
107 107
forward-zone:
108 108
name: "d.f.ip6.arpa"
109
- forward-addr: 172.22.0.53
109
+ forward-addr: 172.23.0.53
110 110
```
111 111
112 112
## JunOS (SRX 12.1X46)
... ...
@@ -123,27 +123,27 @@ system {
123 123
interface {
124 124
vlan.0;
125 125
}
126
- default-domain dn42 {
127
- forwarders {
128
- 172.22.0.53;
129
- }
130
- }
131
- default-domain 20.172.in-addr.arpa {
126
+ default-domain dn42 {
127
+ forwarders {
128
+ 172.23.0.53;
129
+ }
130
+ }
131
+ default-domain 20.172.in-addr.arpa {
132 132
forwarders {
133
- 172.22.0.53;
133
+ 172.23.0.53;
134 134
}
135 135
}
136
- default-domain 22.172.in-addr.arpa {
136
+ default-domain 22.172.in-addr.arpa {
137 137
forwarders {
138
- 172.22.0.53;
138
+ 172.23.0.53;
139 139
}
140 140
}
141 141
default-domain 23.172.in-addr.arpa {
142 142
forwarders {
143
- 172.22.0.53;
143
+ 172.23.0.53;
144 144
}
145 145
}
146
- }
146
+ }
147 147
}
148 148
}
149 149
}