From d762001cb6f7f0eb4728563d4065fecbf9907654 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Mon, 24 Apr 2023 20:40:48 +0100 Subject: [PATCH] dns: some light reorganisation for clarity --- applications/dns.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/applications/dns.nix b/applications/dns.nix index 20c84b4..567f596 100644 --- a/applications/dns.nix +++ b/applications/dns.nix @@ -159,7 +159,6 @@ in { '' $TTL 60 ; 1 minute ; hostmaster@skynet.ie is an email address that recieves stuff related to dns - ; the indentation is super super important as it signifies that all these are a part of @ (skynet.ie) @ IN SOA ${cfg.own.nameserver}.skynet.ie. hostmaster.skynet.ie. ( ; Serial (YYYYMMDDCC) this has to be updated for each time the record is updated ${current_date} @@ -168,14 +167,15 @@ in { 604800 ; Expire (1 week) 3600 ; Minimum (1 hour) ) - NS ns1.skynet.ie. - NS ns2.skynet.ie. + + @ NS ns1.skynet.ie. + @ NS ns2.skynet.ie. ; @ stands for teh root domain so teh A record below is where skynet.ie points to - A 193.1.99.76 - ; MX 5 mail.skynet.ie. + @ A 193.1.99.76 + ;@ MX 5 mail.skynet.ie. ; can have multiple mailserves - ;MX 20 mail2.skynet.ie. + ;@ MX 20 mail2.skynet.ie. ; ------------------------------------------