Project

General

Profile

The ungleich DNS infrastructure » History » Version 12

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