From 834ec7cf947f518701be367cefce77f8d7bcd66c Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Wed, 9 Aug 2023 18:34:24 +0100 Subject: [PATCH] dns: set teh right paths for the rDNS Closes #9 Related to 646a21f0 --- applications/dns.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/applications/dns.nix b/applications/dns.nix index 72d8837..2f3cf8a 100644 --- a/applications/dns.nix +++ b/applications/dns.nix @@ -94,7 +94,7 @@ ${format_records sort_records_srv 17} # https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/4/html/reference_guide/s2-bind-configuration-zone-reverse # config for our reverse dnspointers (not properly working) get_config_file_rev = (domain: -''$ORIGIN 64-127.99.1.193.in-addr.arpa. +''$ORIGIN 64-64.99.1.193.in-addr.arpa. $TTL 60 ; 1 minute ; hostmaster@skynet.ie is an email address that recieves stuff related to dns @ IN SOA ${nameserver}.skynet.ie. hostmaster.skynet.ie. ( @@ -320,7 +320,7 @@ in { (create_entry_zone "skynet.ie" extraConfig.owned ) // (create_entry_zone "ulcompsoc.ie" extraConfig.owned ) // - #(create_entry_zone "99.1.193.in-addr.arpa" extraConfig.reverse ) // + (create_entry_zone "64-64.99.1.193.in-addr.arpa" extraConfig.reverse ) // (create_entry_zone "conradcollins.net" extraConfig.old )// (create_entry_zone "edelharty.net" extraConfig.old ); @@ -330,7 +330,7 @@ in { (create_entry_etc "skynet.ie" "owned") // (create_entry_etc "ulcompsoc.ie" "owned") // - #(create_entry_etc "99.1.193.in-addr.arpa" "reverse") // + (create_entry_etc "64-64.99.1.193.in-addr.arpa" "reverse") // (create_entry_etc "conradcollins.net" "old") // (create_entry_etc "edelharty.net" "old");