dns: test reverse dns

This commit is contained in:
silver 2023-08-06 02:08:35 +01:00
parent 5de3b0dc9b
commit 9cb9d242ed

View file

@ -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 # 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) # config for our reverse dnspointers (not properly working)
get_config_file_rev = (domain: 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 ; hostmaster@skynet.ie is an email address that recieves stuff related to dns
@ IN SOA ${nameserver}.skynet.ie. hostmaster.skynet.ie. ( @ IN SOA ${nameserver}.skynet.ie. hostmaster.skynet.ie. (
; Serial (YYYYMMDDCC) this has to be updated for each time the record is updated ; 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 "skynet.ie" extraConfig.owned ) //
(create_entry_zone "ulcompsoc.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 "conradcollins.net" extraConfig.old )//
(create_entry_zone "edelharty.net" extraConfig.old ); (create_entry_zone "edelharty.net" extraConfig.old );
@ -330,7 +329,7 @@ in {
(create_entry_etc "skynet.ie" "owned") // (create_entry_etc "skynet.ie" "owned") //
(create_entry_etc "ulcompsoc.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 "conradcollins.net" "old") //
(create_entry_etc "edelharty.net" "old"); (create_entry_etc "edelharty.net" "old");