services/dns/Configuration.md
... ...
@@ -12,6 +12,10 @@ zone "dn42" {
12 12
type forward;
13 13
forwarders { 172.22.0.53; };
14 14
};
15
+zone "20.172.in-addr.arpa" {
16
+ type forward;
17
+ forwarders { 172.22.0.53; };
18
+};
15 19
zone "22.172.in-addr.arpa" {
16 20
type forward;
17 21
forwarders { 172.22.0.53; };
... ...
@@ -32,6 +36,7 @@ config dnsmasq
32 36
option rebind_protection '1'
33 37
list rebind_domain 'dn42'
34 38
list server '/dn42/172.22.0.53'
39
+ list server '/20.172.in-addr.arpa/172.22.0.53'
35 40
list server '/22.172.in-addr.arpa/172.22.0.53'
36 41
list server '/23.172.in-addr.arpa/172.22.0.53'
37 42
```
... ...
@@ -45,6 +50,7 @@ For normal dnsmasq use
45 50
46 51
```
47 52
server=/dn42/172.22.0.53
53
+server=/20.172.in-addr.arpa/172.22.0.53
48 54
server=/22.172.in-addr.arpa/172.22.0.53
49 55
server=/23.172.in-addr.arpa/172.22.0.53
50 56
```
... ...
@@ -64,6 +70,7 @@ Put this in your mararc:
64 70
```
65 71
ipv4_alias["dn42_root"] = "172.22.0.53"
66 72
root_servers["dn42."] = "dn42_root"
73
+root_servers["20.172.in-addr.arpa."] = "dn42_root"
67 74
root_servers["22.172.in-addr.arpa."] = "dn42_root"
68 75
root_servers["23.172.in-addr.arpa."] = "dn42_root"
69 76
```
... ...
@@ -76,6 +83,7 @@ root_servers["23.172.in-addr.arpa."] = "dn42_root"
76 83
```
77 84
server:
78 85
domain-insecure: "dn42"
86
+ local-zone: "20.172.in-addr.arpa." nodefault
79 87
local-zone: "22.172.in-addr.arpa." nodefault
80 88
local-zone: "23.172.in-addr.arpa." nodefault
81 89
local-zone: "d.f.ip6.arpa." nodefault
... ...
@@ -85,6 +93,10 @@ forward-zone:
85 93
forward-addr: 172.22.0.53
86 94
87 95
forward-zone:
96
+ name: "20.172.in-addr.arpa"
97
+ forward-addr: 172.22.0.53
98
+
99
+forward-zone:
88 100
name: "22.172.in-addr.arpa"
89 101
forward-addr: 172.22.0.53
90 102
... ...
@@ -116,11 +128,16 @@ system {
116 128
172.22.0.53;
117 129
}
118 130
}
131
+ default-domain 20.172.in-addr.arpa {
132
+ forwarders {
133
+ 172.22.0.53;
134
+ }
135
+ }
119 136
default-domain 22.172.in-addr.arpa {
120 137
forwarders {
121 138
172.22.0.53;
122 139
}
123
- }
140
+ }
124 141
default-domain 23.172.in-addr.arpa {
125 142
forwarders {
126 143
172.22.0.53;