Changeset 668


Ignore:
Timestamp:
01/13/15 17:22:22 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Patch validation snafu with CNAMEs; somewhere along the line CNAME targets
with a / got allowed in forward zones. This isn't valid.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r667 r668  
    16511651      return;
    16521652    }
    1653   } elsif ($rectype == $reverse_typemap{CNAME}) {
     1653  } elsif ($rectype == $reverse_typemap{CNAME} && $revrec eq 'y') {
    16541654    # Allow / in reverse CNAME hostnames for sub-/24 delegation
    16551655    if (lc($hname) !~ m|^[0-9a-z_./-]+$|) {
Note: See TracChangeset for help on using the changeset viewer.