From 5fae740119c0aa4c1811dda9e707c647a95f59fe Mon Sep 17 00:00:00 2001 From: Roy Sindre Norangshol Date: Sat, 12 Apr 2014 00:45:18 +0200 Subject: Rename ::config::pri_a to ::config::pri_hostname as the value is the server's hostname. --- tools/make-missing-conf.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/make-missing-conf.pl') diff --git a/tools/make-missing-conf.pl b/tools/make-missing-conf.pl index f0fb0a0..326a978 100755 --- a/tools/make-missing-conf.pl +++ b/tools/make-missing-conf.pl @@ -43,7 +43,7 @@ my $bind_conf_slave = $bind_base . "conf-slave/"; my $tgname = $nms::config::tgname; -my $pri_a = $nms::config::pri_a; +my $pri_hostname = $nms::config::pri_hostname; my $pri_ptr = $nms::config::pri_ptr; my $pri_v6 = $nms::config::pri_v6; @@ -139,14 +139,14 @@ while ( ) print ZFILE << "EOF"; ; Base reverse zones are updated from dhcpd -- DO NOT TOUCH! \$TTL 3600 -@ IN SOA $pri_a.$tgname.gathering.org. abuse.gathering.org. ( +@ IN SOA $pri_hostname.$tgname.gathering.org. abuse.gathering.org. ( $serial ; serial 3600 ; refresh 1800 ; retry 608400 ; expire 3600 ) ; minimum and default TTL - IN NS $pri_a.$tgname.gathering.org. + IN NS $pri_hostname.$tgname.gathering.org. IN NS $sec_a.$tgname.gathering.org. \$ORIGIN $name.$tgname.gathering.org. EOF -- cgit v1.2.3 From 223db182458b25cff38b2bf9d9bd9c2323c89587 Mon Sep 17 00:00:00 2001 From: Roy Sindre Norangshol Date: Sat, 12 Apr 2014 00:48:26 +0200 Subject: Rename ::config::sec_a to ::config::sec_hostname as the value is the server's hostname. --- tools/make-missing-conf.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/make-missing-conf.pl') diff --git a/tools/make-missing-conf.pl b/tools/make-missing-conf.pl index 326a978..3c4a05f 100755 --- a/tools/make-missing-conf.pl +++ b/tools/make-missing-conf.pl @@ -47,7 +47,7 @@ my $pri_hostname = $nms::config::pri_hostname; my $pri_ptr = $nms::config::pri_ptr; my $pri_v6 = $nms::config::pri_v6; -my $sec_a = $nms::config::sec_a; +my $sec_hostname = $nms::config::sec_hostname; my $sec_ptr = $nms::config::sec_ptr; my $sec_v6 = $nms::config::sec_v6; @@ -147,7 +147,7 @@ while ( ) 3600 ) ; minimum and default TTL IN NS $pri_hostname.$tgname.gathering.org. - IN NS $sec_a.$tgname.gathering.org. + IN NS $sec_hostname.$tgname.gathering.org. \$ORIGIN $name.$tgname.gathering.org. EOF close ZFILE; -- cgit v1.2.3 From 89ff78867ca90dbbc51df1e070290bd7da985755 Mon Sep 17 00:00:00 2001 From: Roy Sindre Norangshol Date: Sat, 12 Apr 2014 01:05:44 +0200 Subject: Rename ::config::pri_ptr to ::config::pri_v4 as the value is the NS primary IPv4 address. --- tools/make-missing-conf.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/make-missing-conf.pl') diff --git a/tools/make-missing-conf.pl b/tools/make-missing-conf.pl index 3c4a05f..9bd2583 100755 --- a/tools/make-missing-conf.pl +++ b/tools/make-missing-conf.pl @@ -44,7 +44,7 @@ my $bind_conf_slave = $bind_base . "conf-slave/"; my $tgname = $nms::config::tgname; my $pri_hostname = $nms::config::pri_hostname; -my $pri_ptr = $nms::config::pri_ptr; +my $pri_v4 = $nms::config::pri_v4; my $pri_v6 = $nms::config::pri_v6; my $sec_hostname = $nms::config::sec_hostname; -- cgit v1.2.3 From 3c192a61c526b497856c22c2ece0b2f6572393da Mon Sep 17 00:00:00 2001 From: Roy Sindre Norangshol Date: Sat, 12 Apr 2014 01:09:16 +0200 Subject: Rename ::config::sec_ptr to ::config::sec_v4 as the value is the NS secondary IPv4 address. --- tools/make-missing-conf.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/make-missing-conf.pl') diff --git a/tools/make-missing-conf.pl b/tools/make-missing-conf.pl index 9bd2583..345f29a 100755 --- a/tools/make-missing-conf.pl +++ b/tools/make-missing-conf.pl @@ -48,7 +48,7 @@ my $pri_v4 = $nms::config::pri_v4; my $pri_v6 = $nms::config::pri_v6; my $sec_hostname = $nms::config::sec_hostname; -my $sec_ptr = $nms::config::sec_ptr; +my $sec_v4 = $nms::config::sec_v4; my $sec_v6 = $nms::config::sec_v6; my $ext_xfer = $nms::config::ext_xfer; -- cgit v1.2.3