Ignore:
Timestamp:
11/23/11 17:57:25 (13 years ago)
Author:
Kris Deugau
Message:

/trunk/dnsbl

Set the whole zone name in config{blzone} instead of hardcoding use of .dnsbl
Allow setting the SOA contact in config{bladmin}

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dnsbl/export-dnsbl

    r37 r38  
    5454if ($mode eq 'cidr') {
    5555  # SOA, NS records.  Maybe dnscache needs them?
    56   print "\$SOA 900 ".($config{blzone} ? $config{blzone} : 'company').".dnsbl systems.company.com 0 1200 600 600 900\n".
     56  print "\$SOA 900 ".($config{blzone} ? $config{blzone} : 'company.dnsbl')." ".
     57        ($config{bladmin} ? $config{bladmin} : 'systems.company.com')." 0 1200 600 600 900\n".
    5758        "\$NS 3600 127.0.0.1\n".
    5859        "\$TTL 900\n";
Note: See TracChangeset for help on using the changeset viewer.