Ignore:
Timestamp:
08/21/25 16:31:01 (17 hours ago)
Author:
Kris Deugau
Message:

/branches/secondaryzones

Add a pair of configuration options for tinydns export of secondary zones. See #86.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/secondaryzones/DNSDB.pm

    r926 r927  
    217217                bind_export_autoexpire_ttl      => 15,
    218218
     219                # Secondary zones
     220                tiny_secondary_method   => 'autoaxfr',
     221                # For type autoaxfr
     222                autoaxfr_root           => '/var/lib/dns/autoaxfr',
     223
    219224                # Session params
    220225                timeout         => '1h',        # passed as-is to CGI::Session
     
    22252230      $cfg->{bind_export_fqdn}  = $1 if /^bind_export_fqdn\s*=\s*([a-z01]+)/i;
    22262231      $cfg->{bind_export_autoexpire_ttl} = $1 if /^bind_export_autoexpire_ttl\s*=\s*(\d+)/;
     2232      $cfg->{tiny_secondary_method}     = $1 if /^tiny_secondary_method\s*=\s*([a-z]+)/i;
     2233      $cfg->{autoaxfr_root}     = $1 if m{^autoaxfr_root\s*=\s*([a-z0-9/_.%-]+)}i;
    22272234      $cfg->{force_refresh}     = $1 if /^force_refresh\s*=\s*([a-z01]+)/i;
    22282235      $cfg->{lowercase}         = $1 if /^lowercase\s*=\s*([a-z01]+)/i;
Note: See TracChangeset for help on using the changeset viewer.