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