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

/branches/stable

Merge reverse DNS and other updates, cleanup.

Crosscheck and clean up a few dangling bits that didn't get merged
correctly due to conflicts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/textrecs.cgi

    r548 r550  
    4646# shut up some warnings, in case we arrive somewhere we forgot to set this
    4747$webvar{defrec} = 'n' if !$webvar{defrec};      # non-default records
    48 #$webvar{revrec} = 'n' if !$webvar{revrec};     # non-reverse (domain) records
     48$webvar{revrec} = 'n' if !$webvar{revrec};      # non-reverse (domain) records
    4949
    5050my $dnsdb = new DNSDB;
     
    7070print "Content-type: text/plain\n\n";
    7171print "Plaintext version of records for $zone.\n" if $webvar{defrec} eq 'n';
    72 print "Plaintext version of default records for $zone.\n" if $webvar{defrec} eq 'y';
     72print "Plaintext version of default ".($webvar{revrec} eq 'y' ? 'reverse ' : '')."records for $zone.\n"
     73        if $webvar{defrec} eq 'y';
    7374print qq(Press the "Back" button to return to the standard record list.\n\n);
    7475
Note: See TracChangeset for help on using the changeset viewer.