aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoachim Tingvold <joachim@tingvold.com>2016-03-22 23:28:23 +0100
committerJoachim Tingvold <joachim@tingvold.com>2016-03-22 23:28:23 +0100
commitdcf06094021f4cb0cb74ae00cdb2629fccffff6e (patch)
tree2e25341e52882ae3f52fdd31235b9941c355d918
parent07d330cf0cf54441ed8d730fba2457c7fdfb97bb (diff)
Cosmetics...
-rwxr-xr-xbootstrap/make-named.pl7
1 files changed, 5 insertions, 2 deletions
diff --git a/bootstrap/make-named.pl b/bootstrap/make-named.pl
index e42ecd1..62ad584 100755
--- a/bootstrap/make-named.pl
+++ b/bootstrap/make-named.pl
@@ -1,5 +1,6 @@
#!/usr/bin/perl -I /root/tgmanage
use strict;
+use NetAddr::IP;
BEGIN {
require "include/config.pm";
@@ -124,6 +125,7 @@ EOF
my $ipv6 = Net::IP->new($ipv6_net);
(my $ipv6zone = $ipv6->reverse_ip()) =~ s/\.$//;
+
print NFILE <<EOF;
zone "$ipv6zone" {
type master;
@@ -134,14 +136,15 @@ zone "$ipv6zone" {
};
EOF
-
+ }
+
print NFILE <<EOF;
include "/etc/bind/named.conf.default-zones";
include "named.reverse4.conf";
include "named.master-include.conf";
EOF
- }
+
}
if ( $role eq "slave" )