e4a65e18722ead96f513f9246a2159126221a9bc
Recursive-DNS-resolver.md
... | ... | @@ -0,0 +1,33 @@ |
1 | +If you want to run your own recursive DNS server, you must find upstream servers that are authoritative for the dn42 zones. |
|
2 | + |
|
3 | +You may use some servers listed in the [[table of anycast servers|Providing-Anycast-DNS#Persons-providing-anycast-DNS]], or just use `172.22.119.129` and `172.22.119.139` (ns{1,2}.fritz.dn42). |
|
4 | + |
|
5 | +## Configuration |
|
6 | + |
|
7 | +### Unbound |
|
8 | + |
|
9 | +Configuration for `unbound.conf` |
|
10 | + |
|
11 | +``` |
|
12 | +server: |
|
13 | + local-zone: "22.172.in-addr.arpa." nodefault |
|
14 | + local-zone: "23.172.in-addr.arpa." nodefault |
|
15 | + |
|
16 | +stub-zone: |
|
17 | + name: "dn42" |
|
18 | + stub-prime: yes |
|
19 | + stub-addr: 172.22.119.139 |
|
20 | + stub-addr: 172.22.119.129 |
|
21 | + |
|
22 | +stub-zone: |
|
23 | + name: "22.172.in-addr.arpa" |
|
24 | + stub-prime: yes |
|
25 | + stub-addr: 172.22.119.139 |
|
26 | + stub-addr: 172.22.119.129 |
|
27 | + |
|
28 | +stub-zone: |
|
29 | + name: "23.172.in-addr.arpa" |
|
30 | + stub-prime: yes |
|
31 | + stub-addr: 172.22.119.139 |
|
32 | + stub-addr: 172.22.119.129 |
|
33 | +``` |
|
... | ... | \ No newline at end of file |