Changeset 891 for trunk/DNSDB.pm


Ignore:
Timestamp:
06/25/25 17:27:31 (6 days ago)
Author:
Kris Deugau
Message:

/trunk

Fill in most bits of record "expiry"/"valid-after" for BIND-style zone
export, including a config option for the small TTL records will be set
to when actually preparing to "expire"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r888 r891  
    209209                bind_export_conf_path   => 'zones.conf',
    210210                bind_export_shortlines  => 0,
     211                bind_export_autoexpire_ttl      => 15,
    211212
    212213                # Session params
     
    22032204      $cfg->{bind_export_zone_path}   = $1 if m{^bind_export_zone_path\s*=\s*([a-z0-9/_.%-]+)}i;
    22042205      $cfg->{bind_export_shortlines}  = $1 if /^bind_export_shortlines\s*=\s*([a-z01]+)/i;
     2206      $cfg->{bind_export_autoexpire_ttl} = $1 if /^bind_export_autoexpire_ttl\s*=\s*(\d+);
    22052207      $cfg->{force_refresh}     = $1 if /^force_refresh\s*=\s*([a-z01]+)/i;
    22062208      $cfg->{lowercase}         = $1 if /^lowercase\s*=\s*([a-z01]+)/i;
Note: See TracChangeset for help on using the changeset viewer.