The ungleich DNS infrastructure » History » Version 7
Nico Schottelius, 11/13/2018 02:53 PM
1 | 1 | Nico Schottelius | h1. The ungleich DNS infrastructure |
---|---|---|---|
2 | |||
3 | 6 | Nico Schottelius | {{toc}} |
4 | |||
5 | 2 | Nico Schottelius | h2. Status |
6 | |||
7 | This document is *IN PROGRESS*. |
||
8 | |||
9 | 1 | Nico Schottelius | h2. Overview |
10 | |||
11 | 7 | Nico Schottelius | |
12 | | | *place4* | *place5 | *place6* | |
||
13 | | *DNS64 prefix* | - | 2a0a:e5c0:0:1::/96 | 2a0a:e5c0:2:10::/96 | |
||
14 | | *DNS resolver* | - | 2a0a:e5c0::3 2a0a:e5c0::4 | 2a0a:e5c0:2:1::5 2a0a:e5c0:2:1::6! | |
||
15 | | *DNS authorative* | dns1 | dns2 | dns3 | |
||
16 | | | 2a01:4f8:150:7092::2 | 2a0a:e5c0::1 | 2a0a:e5c0:2:1::7 | |
||
17 | | | 176.9.50.202 | 185.203.112.1 | 185.203.114.1 | |
||
18 | |||
19 | |||
20 | 1 | Nico Schottelius | * Every place has 2 redundant caching nameservers. |
21 | * All zones have 3 authorative nameservers, located in 3 different places |
||
22 | * Important zones (like ungleich.ch) need to be resolvable, even if a place goes offline |
||
23 | ** For this reason some authorative data needs to be on the caching name servers |
||
24 | ** For this reason we stay with a bind9 based setup for the moment (might change in the future) |
||
25 | 3 | Nico Schottelius | |
26 | h2. Architecture |
||
27 | |||
28 | In total we are running 5 servers that are responsible for caching and authorative answers: |
||
29 | |||
30 | * Authorative |
||
31 | ** 1x server in place4 (bind) |
||
32 | ** 1x VRRP IP of routers in place5 (bind) |
||
33 | ** 1x VRRP IP of routers in place6 (bind) |
||
34 | * Caching |
||
35 | ** 2x server ip of router in place5 (bind) |
||
36 | ** 2x server ip of router in place6 (bind) |
||
37 | |||
38 | |||
39 | h2. How to update the ungleich DNS servers |
||
40 | |||
41 | To update all 5 servers, use: |
||
42 | |||
43 | <pre> |
||
44 | cdist config d{1..5}.ungleich.ch |
||
45 | </pre> |
||
46 | |||
47 | 4 | Nico Schottelius | h2. How to use the authorative DNS servers in zone files |
48 | 3 | Nico Schottelius | |
49 | Add the following to your zone file: |
||
50 | |||
51 | <pre> |
||
52 | 5 | Nico Schottelius | ; server1.place4 |
53 | IN NS dns1.ungleich.ch. |
||
54 | |||
55 | ; vrrp active router @ place5 |
||
56 | IN NS dns2.ungleich.ch. |
||
57 | |||
58 | ; vrrp active router @ place6 |
||
59 | IN NS dns3.ungleich.ch. |
||
60 | 3 | Nico Schottelius | </pre> |