Project

General

Profile

The ungleich DNS infrastructure » History » Revision 3

Revision 2 (Nico Schottelius, 11/06/2018 05:46 PM) → Revision 3/27 (Nico Schottelius, 11/06/2018 06:15 PM)

h1. The ungleich DNS infrastructure 

 h2. Status 

 This document is *IN PROGRESS*. 

 h2. Overview 

 * Every place has 2 redundant caching nameservers. 
 * All zones have 3 authorative nameservers, located in 3 different places 
 * Important zones (like ungleich.ch) need to be resolvable, even if a place goes offline 
 ** For this reason some authorative data needs to be on the caching name servers 
 ** For this reason we stay with a bind9 based setup for the moment (might change in the future) 

 h2. Architecture 

 In total we are running 5 servers that are responsible for caching and authorative answers: 

 * Authorative 
 ** 1x server in place4 (bind) 
 ** 1x VRRP IP of routers in place5 (bind) 
 ** 1x VRRP IP of routers in place6 (bind) 
 * Caching 
 ** 2x server ip of router in place5 (bind) 
 ** 2x server ip of router in place6 (bind) 


 h2. How to update the ungleich DNS servers 

 To update all 5 servers, use: 

 <pre> 
 cdist config d{1..5}.ungleich.ch 
 </pre> 

 h2. How to use the authorative DNS servers 

 Add the following to your zone file: 

 <pre> 
	 IN NS dns1.ungleich.ch. 
	 IN NS dns2.ungleich.ch. 
	 IN NS dns3.ungleich.ch. 
 </pre>