Changeset 5720 in genesis for tools/FreeBSD6_x


Ignore:
Timestamp:
Nov 26, 2007, 7:06:53 PM (17 years ago)
Author:
rick
Message:

Rewrite named.conf syntax

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/FreeBSD6_x/wleiden.pl

    r4940 r5720  
    123123  "options {\n" .
    124124  "  directory \"/etc/namedb\"\;\n" .
    125   "  pid-file \"/var/run/named.pid\"\;\n" .
     125  "  pid-file \"/var/run/named/pid\"\;\n" .
    126126  "  forwarders {\n";
    127127  foreach my $forward (@forwarder) {
     
    140140  "zone \"0\.0\.127\.IN-ADDR.ARPA\" {\n" .
    141141  "  type master\;\n" .
    142   "  file \"/etc/namedb/localhost.rev\"\;\n" .
     142  "  file \"/etc/namedb/master/localhost.rev\"\;\n" .
    143143  "}\;\n" .
    144144  "\n" .
    145145  "zone \"1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT\" {\n" .
    146146  "  type master\;\n" .
    147   "  file \"/etc/namedb/localhost-v6.rev\"\;\n" .
     147  "  file \"/etc/namedb/master/localhost-v6.rev\"\;\n" .
    148148  "};\n" .
    149149  "\n";
     
    155155    "zone \"$tmpZone\" {\n" .
    156156    "  type slave\;\n" .
    157     "  file \"slave-$tmpZone\"\;\n" .
     157    "  file \"slave/slave-$tmpZone\"\;\n" .
    158158    "  masters {\n";
    159159    foreach my $tmpIP (sort @$dnsZone) {
Note: See TracChangeset for help on using the changeset viewer.