Changeset 690


Ignore:
Timestamp:
02/06/15 17:28:19 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Head off a potential point of confusion by blocking expandable template
patterns in reverse DNS for IPv6. At best they'll never work the same
way as for IPv4 simply due to the scale of the address space. Could be
considered for /120 and smaller allocations for network infrastructure
someday, maybe. See #1 and #22.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/IPDB.pm

    r686 r690  
    961961  $args{rdns} = '' if !$args{rdns};
    962962
     963  # Could arguably allow this for eg /120 allocations, but end users who get a single v4 IP are
     964  # usually given a v6 /64, and most v6 addressing schemes need at least half that address space
     965  if ($args{cidr}->{isv6} && $args{rdns} =~ /\%/) {
     966    return ('FAIL','Reverse DNS template patterns are not supported for IPv6 allocations');
     967  }
     968
    963969  my $sth;
    964970
Note: See TracChangeset for help on using the changeset viewer.