Merge branch '#9_fix_ptr_records' into 'main'

dns: set teh right paths for the rDNS

Closes #9

See merge request compsoc1/skynet/nixos!9
This commit is contained in:
Brendan Golden 2023-08-09 20:18:35 +00:00
commit ee4468c03d

View file

@ -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");