Changeset 559 for trunk/dns.cgi


Ignore:
Timestamp:
12/17/13 16:33:13 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Post-release nuisance rollup

  • Forgot to move "use Digest::MD5" to DNSDB.pm, where it's actually needed
  • Minor UI polish for TTLs intended to use "automatic" TTL setting; instead of displaying the underlying -1, show "(auto)"
  • Remember to accept negative TTLs (could probably check for things other than -1, if being picky) to allow use of "automatic" TTLs. Note that tinydns' automatic TTL is.... one day.
  • After all that work developing a caching system to speed up exports, add a knob to turn it off... because it's now slower than just writing everything straight to a collected master file after all the *rest* of the export speed optimizations. (Even with full sets of template records.)
  • Include the dns-rpc.fcgi symlink in the tarball
  • Make sure we have the right name for maxfcgi in all the places it's used. Also update the example dnsdb.conf with the couple of new options introduced recently.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r553 r559  
    2626use HTML::Template;
    2727use CGI::Session;
    28 use Crypt::PasswdMD5;
    29 use Digest::MD5 qw(md5_hex);
    3028use Net::DNS;
    3129use DBI;
     
    20082006    $rec->{type} = $typemap{$rec->{type}};
    20092007    $rec->{fwdzone} = $rev eq 'n';
     2008    $rec->{ttl} = '(auto)' if $rec->{ttl} == -1;
    20102009    $rec->{distance} = 'n/a' unless ($rec->{type} eq 'MX' || $rec->{type} eq 'SRV');
    20112010    $rec->{weight} = 'n/a' unless ($rec->{type} eq 'SRV');
Note: See TracChangeset for help on using the changeset viewer.