Changeset 333


Ignore:
Timestamp:
05/09/12 20:44:08 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Checkpoint, update export for reverse DNS. See #26.

  • Stub out slices in _printrec_tiny for the new pseudotypes
  • Fill in handling for AAAA+PTR (65281) since the forward and reverse entries can be spawned off as separate calls to print an AAAA or PTR record
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r332 r333  
    41604160        }
    41614161
     4162      } elsif ($type == 65280) { # A+PTR
     4163      } elsif ($type == 65281) { # AAAA+PTR
     4164
     4165        # treat these as two separate records.  since tinydns doesn't have
     4166        # a native combined type, we have to create them separately anyway.
     4167        if ($revrec eq 'n') {
     4168          $type = 28;
     4169        } else {
     4170          $type = 12;
     4171        }
     4172        _printrec_tiny($datafile,$revrec,$zone,$host,$type,$val,$dist,$weight,$port,$ttl,$loc,$stamp);
     4173
     4174      } elsif ($type == 65282) { # PTR template
     4175      } elsif ($type == 65283) { # A+PTR template
     4176      } elsif ($type == 65284) { # AAAA+PTR template
     4177
    41624178      } else {
    41634179        # raw record.  we don't know what's in here, so we ASS-U-ME the user has
Note: See TracChangeset for help on using the changeset viewer.