Changeset 518 for trunk/DNSDB.pm


Ignore:
Timestamp:
06/07/13 18:41:45 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Use -1 to flag records to use tinydns' auto-TTL (mis?)feature.
Records appear to have a 1-day TTL when configured this way.

0 is required for records that really truly have a 0 TTL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r517 r518  
    49154915
    49164916        # support tinydns' auto-TTL
    4917         $ttl = '' if $ttl == '0';
     4917        $ttl = '' if $ttl == -1;
    49184918
    49194919        # Spaces are evil.
     
    49994999
    50005000        # support tinydns' auto-TTL
    5001         $ttl = '' if $ttl == '0';
     5001        $ttl = '' if $ttl == -1;
    50025002
    50035003        _printrec_tiny(*ZONECACHE, 'y', \%recflags, $revzone,
Note: See TracChangeset for help on using the changeset viewer.