# HG changeset patch # User asuess@dns.net.schlittermann.de # Date 1279795454 -7200 # Node ID 8715e7b706db551b179f0e900bc06c6ad47254fb # Parent 05132262d212752e76ab67952f89096e7693782f - zone-rm und zone-mk in perl geschrieben - templates ueberarbeitet diff -r 05132262d212 -r 8715e7b706db mkready --- a/mkready Wed Jul 21 14:04:05 2010 +0200 +++ b/mkready Thu Jul 22 12:44:14 2010 +0200 @@ -8,10 +8,10 @@ chomp (my @domains = `ls $master_dir`); chomp (my @conf_dir_files = `ls $conf_dir`); -# prueft jede domain die einen verzeichniss in $master_dir hat, ob es eine -# datei <$domain>.signed gibt und ob der eintrag in $conf_dir/$domain dem -# ergebniss entspricht. -# passt die eintraeg in der config-datei falls noetig an. +# prueft jede domain, die ein verzeichnis in $master_dir hat, ob es eine +# datei $zone_file.signed gibt und ob diese datei in $config_file eingetragen +# ist. +# passt die eintraege in $config_file falls noetig an. foreach (@domains) { my $domain = $_; my $zone_file = "$master_dir/$domain/$domain"; diff -r 05132262d212 -r 8715e7b706db templates/named.config --- a/templates/named.config Wed Jul 21 14:04:05 2010 +0200 +++ b/templates/named.config Thu Jul 22 12:44:14 2010 +0200 @@ -1,10 +1,10 @@ -zone "[% domain %]" { -// Start: [% start %] -// Invoice: [% customer %] -// UTF8: [% utf8domain %] +zone "" { +// Start: +// Invoice: +// UTF8: type master; - file "[% file %]"; - allow-transfer { localhost; [% primary_ip %]; [% secondary_ip %]; }; + file ""; + allow-transfer { localhost; ; ; }; allow-query { any; }; - also-notify { [% primary_ip %]; }; + also-notify { ; }; }; diff -r 05132262d212 -r 8715e7b706db templates/named.zone --- a/templates/named.zone Wed Jul 21 14:04:05 2010 +0200 +++ b/templates/named.zone Thu Jul 22 12:44:14 2010 +0200 @@ -1,17 +1,17 @@ -$ORIGIN [% domain %]. +$ORIGIN . $TTL 1d -@ IN SOA [% primary %]. [% hostmaster %]. ( - [% time %] ; serial +@ IN SOA . . ( +