3e42a4b717c1fc9bbc871528b8e2544b754f84cd
services/dns/Configuration.md
... | ... | @@ -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.23.0.53; }; |
|
13 | + forwarders { 172.20.0.53; }; |
|
14 | 14 | }; |
15 | 15 | zone "20.172.in-addr.arpa" { |
16 | 16 | type forward; |
17 | - forwarders { 172.23.0.53; }; |
|
17 | + forwarders { 172.20.0.53; }; |
|
18 | 18 | }; |
19 | 19 | zone "22.172.in-addr.arpa" { |
20 | 20 | type forward; |
21 | - forwarders { 172.23.0.53; }; |
|
21 | + forwarders { 172.20.0.53; }; |
|
22 | 22 | }; |
23 | 23 | zone "23.172.in-addr.arpa" { |
24 | 24 | type forward; |
25 | - forwarders { 172.23.0.53; }; |
|
25 | + forwarders { 172.20.0.53; }; |
|
26 | 26 | }; |
27 | 27 | ``` |
28 | 28 | |
... | ... | @@ -37,10 +37,10 @@ config dnsmasq |
37 | 37 | option boguspriv '0' |
38 | 38 | option rebind_protection '1' |
39 | 39 | list rebind_domain 'dn42' |
40 | - list server '/dn42/172.23.0.53' |
|
41 | - list server '/20.172.in-addr.arpa/172.23.0.53' |
|
42 | - list server '/22.172.in-addr.arpa/172.23.0.53' |
|
43 | - list server '/23.172.in-addr.arpa/172.23.0.53' |
|
40 | + list server '/dn42/172.20.0.53' |
|
41 | + list server '/20.172.in-addr.arpa/172.20.0.53' |
|
42 | + list server '/22.172.in-addr.arpa/172.20.0.53' |
|
43 | + list server '/23.172.in-addr.arpa/172.20.0.53' |
|
44 | 44 | ``` |
45 | 45 | |
46 | 46 | to `/etc/config/dhcp` and run `/etc/init.d/dnsmasq restart`. After that you are able to resolve `.dn42` |
... | ... | @@ -51,10 +51,10 @@ Attention: If you go with the default config you'll have to disable "boguspriv" |
51 | 51 | For normal dnsmasq use |
52 | 52 | |
53 | 53 | ``` |
54 | -server=/dn42/172.23.0.53 |
|
55 | -server=/20.172.in-addr.arpa/172.23.0.53 |
|
56 | -server=/22.172.in-addr.arpa/172.23.0.53 |
|
57 | -server=/23.172.in-addr.arpa/172.23.0.53 |
|
54 | +server=/dn42/172.20.0.53 |
|
55 | +server=/20.172.in-addr.arpa/172.20.0.53 |
|
56 | +server=/22.172.in-addr.arpa/172.20.0.53 |
|
57 | +server=/23.172.in-addr.arpa/172.20.0.53 |
|
58 | 58 | ``` |
59 | 59 | in `dnsmasq.conf`. |
60 | 60 | |
... | ... | @@ -63,14 +63,14 @@ Add this to /etc/powerdns/recursor.conf (at least in Debian and CentOS), the **f |
63 | 63 | |
64 | 64 | ``` |
65 | 65 | dont-query=127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, ::1/128, fe80::/10 |
66 | -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 |
|
66 | +forward-zones-recurse=dn42=172.20.0.53,hack=172.20.0.53,ffhh=172.20.0.53,ffac=172.20.0.53,020=172.20.0.53,adm=172.20.0.53,ffa=172.20.0.53,ffhb=172.20.0.53,ffc=172.20.0.53,ffda=172.20.0.53,ffdh=172.20.0.53,ff3l=172.20.0.53,fffl=172.20.0.53,ffffm=172.20.0.53,fffr=172.20.0.53,fffd=172.20.0.53,ffgl=172.20.0.53,fflln=172.20.0.53,ffbcd=172.20.0.53,ffbgl=172.20.0.53,ffgoe=172.20.0.53,ffgt=172.20.0.53,ffh=172.20.0.53,helgo=172.20.0.53,ffhef=172.20.0.53,ffj=172.20.0.53,ffka=172.20.0.53,ffki=172.20.0.53,ffhl=172.20.0.53,fflux=172.20.0.53,ffms=172.20.0.53,mueritz=172.20.0.53,ffnord=172.20.0.53,ffnw=172.20.0.53,ffoh=172.20.0.53,ffpb=172.20.0.53,ffpi=172.20.0.53,ffrade=172.20.0.53,ffrgb=172.20.0.53,ffrg=172.20.0.53,rzl=172.20.0.53,ffsaar=172.20.0.53,fftr=172.20.0.53,fftdf=172.20.0.53,ffwk=172.20.0.53,ffgro=172.20.0.53,ffwk=172.20.0.53,ffwp=172.20.0.53,ffw=172.20.0.53,20.172.in-addr.arpa=172.20.0.53,22.172.in-addr.arpa=172.20.0.53,23.172.in-addr.arpa=172.20.0.53,31.172.in-addr.arpa=172.20.0.53,c.f.ip6.arpa=172.20.0.53 |
|
67 | 67 | ``` |
68 | 68 | |
69 | 69 | ## MaraDNS |
70 | 70 | Put this in your mararc: |
71 | 71 | |
72 | 72 | ``` |
73 | -ipv4_alias["dn42_root"] = "172.23.0.53" |
|
73 | +ipv4_alias["dn42_root"] = "172.20.0.53" |
|
74 | 74 | root_servers["dn42."] = "dn42_root" |
75 | 75 | root_servers["20.172.in-addr.arpa."] = "dn42_root" |
76 | 76 | root_servers["22.172.in-addr.arpa."] = "dn42_root" |
... | ... | @@ -98,32 +98,32 @@ server: |
98 | 98 | forward-zone: |
99 | 99 | name: "dn42" |
100 | 100 | forward-addr: fd42:d42:d42:54::1 |
101 | - forward-addr: 172.23.0.53 |
|
101 | + forward-addr: 172.20.0.53 |
|
102 | 102 | |
103 | 103 | forward-zone: |
104 | 104 | name: "20.172.in-addr.arpa" |
105 | 105 | forward-addr: fd42:d42:d42:54::1 |
106 | - forward-addr: 172.23.0.53 |
|
106 | + forward-addr: 172.20.0.53 |
|
107 | 107 | |
108 | 108 | forward-zone: |
109 | 109 | name: "21.172.in-addr.arpa" |
110 | 110 | forward-addr: fd42:d42:d42:54::1 |
111 | - forward-addr: 172.23.0.53 |
|
111 | + forward-addr: 172.20.0.53 |
|
112 | 112 | |
113 | 113 | forward-zone: |
114 | 114 | name: "22.172.in-addr.arpa" |
115 | 115 | forward-addr: fd42:d42:d42:54::1 |
116 | - forward-addr: 172.23.0.53 |
|
116 | + forward-addr: 172.20.0.53 |
|
117 | 117 | |
118 | 118 | forward-zone: |
119 | 119 | name: "23.172.in-addr.arpa" |
120 | 120 | forward-addr: fd42:d42:d42:54::1 |
121 | - forward-addr: 172.23.0.53 |
|
121 | + forward-addr: 172.20.0.53 |
|
122 | 122 | |
123 | 123 | forward-zone: |
124 | 124 | name: "d.f.ip6.arpa" |
125 | 125 | forward-addr: fd42:d42:d42:54::1 |
126 | - forward-addr: 172.23.0.53 |
|
126 | + forward-addr: 172.20.0.53 |
|
127 | 127 | ``` |
128 | 128 | |
129 | 129 | ## JunOS (SRX 12.1X46) |
... | ... | @@ -142,22 +142,22 @@ system { |
142 | 142 | } |
143 | 143 | default-domain dn42 { |
144 | 144 | forwarders { |
145 | - 172.23.0.53; |
|
145 | + 172.20.0.53; |
|
146 | 146 | } |
147 | 147 | } |
148 | 148 | default-domain 20.172.in-addr.arpa { |
149 | 149 | forwarders { |
150 | - 172.23.0.53; |
|
150 | + 172.20.0.53; |
|
151 | 151 | } |
152 | 152 | } |
153 | 153 | default-domain 22.172.in-addr.arpa { |
154 | 154 | forwarders { |
155 | - 172.23.0.53; |
|
155 | + 172.20.0.53; |
|
156 | 156 | } |
157 | 157 | } |
158 | 158 | default-domain 23.172.in-addr.arpa { |
159 | 159 | forwarders { |
160 | - 172.23.0.53; |
|
160 | + 172.20.0.53; |
|
161 | 161 | } |
162 | 162 | } |
163 | 163 | } |
... | ... | @@ -167,4 +167,4 @@ system { |
167 | 167 | ``` |
168 | 168 | |
169 | 169 | ## MS DNS |
170 | -Add a "Conditional Forward" (de: "Bedingte Weiterleitung") for each of "dn42", "20.172.in-addr.arpa", "22.172.in-addr.arpa", "23.172.in-addr.arpa" using 172.23.0.53 as forwarder. Ignore the error message that the server is not authoritative. |
|
... | ... | \ No newline at end of file |
0 | +Add a "Conditional Forward" (de: "Bedingte Weiterleitung") for each of "dn42", "20.172.in-addr.arpa", "22.172.in-addr.arpa", "23.172.in-addr.arpa" using 172.20.0.53 as forwarder. Ignore the error message that the server is not authoritative. |
|
... | ... | \ No newline at end of file |