Changeset 634


Ignore:
Timestamp:
05/14/14 17:49:50 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Add commented fragment in _revswap() sub-sub in importAXFR() to fail on
multicharacter "nibbles" in IPv6 records, since they wouldn't generally
be reachable. However, any-record-in-any-zone means something harmlessly
bizarre may come in that is not reachable via "normal" reverse zone
lookups.

See #53.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r633 r634  
    50255025      my $nc;
    50265026      foreach (@nibs) {
     5027#        # fail on multicharacter nibbles;  it's syntactically valid but no standard lookup
     5028#        # will ever reach it, because it doesn't directly represent a real IP address.
     5029#        return ('FAIL', "Invalid reverse v6 entry") if $_ !~ /^.$/;
    50275030        $rechost.= $_;
    50285031        $rechost .= ":" if ++$nc % 4 == 0 && $nc < 32;
Note: See TracChangeset for help on using the changeset viewer.