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