From 359fc26dca538ca7a4ff13b35fac3a271ed5b4c3 Mon Sep 17 00:00:00 2001 From: ianmdlvl Date: Sun, 26 May 2002 18:39:51 +0000 Subject: [PATCH] .* --- scripts/named-conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/named-conf b/scripts/named-conf index d2f6b35..bc355be 100755 --- a/scripts/named-conf +++ b/scripts/named-conf @@ -1,5 +1,3 @@ -fixme implement .* on self-soa self-ns - #!/usr/bin/perl -w use strict; @@ -311,6 +309,9 @@ sub zone_conf ($$$$$@) { if $sfx =~ m/^self/; $zone_cfg{$zone}{$sfx}= $aref; } + foreach $sfx (qw(self_soa self_ns)) { + $zone_cfg{$zone}{$sfx} =~ s/\*$/$zone/; + } $zone_cfg{$zone}{'output'}= $output; push @zone_cfg_list, $zone; } -- 2.30.2