From 9cb9d242ed97a34a3407ad1c3c7a07faf1c85f5a Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 6 Aug 2023 02:08:35 +0100 Subject: [PATCH] dns: test reverse dns --- applications/dns.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/applications/dns.nix b/applications/dns.nix index 112d985..1779af4 100644 --- a/applications/dns.nix +++ b/applications/dns.nix @@ -94,8 +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 99.1.193.in-addr.arpa. -$TTL 60 ; 1 minute +''$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. ( ; Serial (YYYYMMDDCC) this has to be updated for each time the record is updated @@ -320,7 +319,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-127.99.1.193.in-addr.arpa" extraConfig.reverse ) // (create_entry_zone "conradcollins.net" extraConfig.old )// (create_entry_zone "edelharty.net" extraConfig.old ); @@ -330,7 +329,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-127.99.1.193.in-addr.arpa" "reverse") // (create_entry_etc "conradcollins.net" "old") // (create_entry_etc "edelharty.net" "old");