From 696e8a404f1353a886d39f3cfcc03ccdcbef3caa Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Tue, 17 Jan 2023 23:15:36 +0000 Subject: [PATCH] fix: gonna use this as an example file --- applications/dns.nix | 4 ++-- applications/dns/{skynet => example} | 30 +++++++++++++++------------- 2 files changed, 18 insertions(+), 16 deletions(-) rename applications/dns/{skynet => example} (54%) diff --git a/applications/dns.nix b/applications/dns.nix index 9542557..ac8323e 100644 --- a/applications/dns.nix +++ b/applications/dns.nix @@ -46,9 +46,9 @@ in { /* put any other zones above skynet and link to their files like so: - skynet.ie = { + example.ie = { extraConfig = ""; - file = ./dns/skynet; + file = ./dns/example; master = true; masters = []; slaves = [ ]; diff --git a/applications/dns/skynet b/applications/dns/example similarity index 54% rename from applications/dns/skynet rename to applications/dns/example index 6d878ca..7a60345 100644 --- a/applications/dns/skynet +++ b/applications/dns/example @@ -1,18 +1,20 @@ -$TTL 60 ; 1 minute -@ IN SOA ns1.skynet.ie. dnsadm.skynet.ie. ( - 2023011701 ; Serial (YYYYMMDDCC) - 600 ; Refresh (10 minutes) - 300 ; Retry (5 minutes) - 2419200 ; Expire (4 weeks) - 3600 ; Minimum (1 hour) - ) - NS ns1.skynet.ie. - NS ns2.skynet.ie. - ;A 193.1.99.76 - MX 5 mail.skynet.ie. +; use this file as an example of how to config zone files - ; can have multiple mailserves - ;MX 20 mail2.skynet.ie. +$TTL 60 ; 1 minute +@ IN SOA ns1.skynet.ie. hostmaster.skynet.ie. ( + 2023011701 ; Serial (YYYYMMDDCC) + 600 ; Refresh (10 minutes) + 300 ; Retry (5 minutes) + 2419200 ; Expire (4 weeks) + 3600 ; Minimum (1 hour) + ) + NS ns1.skynet.ie. + NS ns2.skynet.ie. + ;A 193.1.99.76 + MX 5 mail.skynet.ie. + + ; can have multiple mailserves + ;MX 20 mail2.skynet.ie. ; ------------------------------------------