Changeset 367 for trunk/DNSDB.pm


Ignore:
Timestamp:
07/26/12 17:57:19 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Tweak tinydns export processing to support automatic TTLs.
See #40, sort of.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r364 r367  
    42274227      my $stamp = '';
    42284228
     4229      # support tinydns' auto-TTL
     4230      $ttl = '' if $ttl == '0';
     4231
    42294232      _printrec_tiny($datafile,'n',\%recflags,$dom,$host,$type,$val,$dist,$weight,$port,$ttl,$loc,$stamp);
    42304233      $recflags{$recid} = 1;
     
    42724275# ~~ 2^62 + time()
    42734276      my $stamp = '';
     4277
     4278      # support tinydns' auto-TTL
     4279      $ttl = '' if $ttl == '0';
    42744280
    42754281      _printrec_tiny($datafile,'y',\%recflags,$revzone,$host,$type,$val,$dist,$weight,$port,$ttl,$loc,$stamp);
Note: See TracChangeset for help on using the changeset viewer.