User Tools

Site Tools


hosts:web:dns

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
hosts:web:dns [2022/09/27 00:35] – created tcmalhosts:web:dns [2022/10/26 21:11] tcmal
Line 7: Line 7:
 Authoritative and recursive DNS servers. Authoritative listens on 5300 (with a router NATing it for public access), and recursive listens on 53. Authoritative and recursive DNS servers. Authoritative listens on 5300 (with a router NATing it for public access), and recursive listens on 53.
  
-The DNS zone is generated automatically by Nix, [[https://git.tardisproject.uk/tardis/nix/-/blob/main/lib/default.nix|here]]If you don't want to use Nixyou should create/reuse a placeholder host and add services there to add it to the DNS zoneSee [[https://git.tardisproject.uk/tardis/nix/-/tree/main/hosts/nixos/sontaran.nix|here]] for an example, or add a custom record to the zone [[https://git.tardisproject.uk/tardis/nix/-/blob/main/lib/default.nix|here]]+There is also a powerdns admin interface on port 8000Currently you need to SSH tunnel into use it, and sometimes it doesn't notify after updating using the admin interface. 
 + 
 +===== Data locations ===== 
 + 
 +  * ''/var/lib/mysql'' 
  
 ===== Configuration locations ===== ===== Configuration locations =====
  
 Managed declaratively through [[https://git.tardisproject.uk/tardis/nix/-/tree/main/profiles/services/dns|Nix]]. Managed declaratively through [[https://git.tardisproject.uk/tardis/nix/-/tree/main/profiles/services/dns|Nix]].