aboutsummaryrefslogtreecommitdiffstats
path: root/tools/make-missing-conf.pl
diff options
context:
space:
mode:
authorRoy Sindre Norangshol <roy.sindre@norangshol.no>2014-04-12 00:45:18 +0200
committerRoy Sindre Norangshol <roy.sindre@norangshol.no>2014-04-12 01:26:49 +0200
commit5fae740119c0aa4c1811dda9e707c647a95f59fe (patch)
treef1540b91b5a0864daf86e27e593b86bbdc3e86eb /tools/make-missing-conf.pl
parentb7d4b92aeddca6e4e6d7745d2cfd346488e349a0 (diff)
Rename ::config::pri_a to ::config::pri_hostname as the value is the server's hostname.
Diffstat (limited to 'tools/make-missing-conf.pl')
-rwxr-xr-xtools/make-missing-conf.pl6
1 files changed, 3 insertions, 3 deletions
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 ( <STDIN> )
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