Ignore:
Timestamp:
12/30/25 17:59:30 (13 hours ago)
Author:
Kris Deugau
Message:

/branches/cname-collision

Add calls to _cname_collision() in a couple more record validators (A+PTR
template, delegation, ALIAS).
See #72.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cname-collision/DNSDB.pm

    r959 r960  
    16581658  }
    16591659
     1660  # poor practice creating template records could result in a live CNAME collision
     1661  return ('FAIL', $errstr) unless $self->_cname_collision(%args);
     1662
    16601663  return ('OK','OK');
    16611664} # done A+PTR template record
     
    17051708    return ('FAIL',"Delegation records are not permitted in default record sets");
    17061709  }
     1710
     1711  return ('FAIL', $errstr) unless $self->_cname_collision(%args);
     1712
    17071713  return ('OK','OK');
    17081714} # done delegation record
     
    17561762    push @{$args{vallist}}, $liveips;
    17571763  }
     1764
     1765  return ('FAIL', $errstr) unless $self->_cname_collision(%args);
    17581766
    17591767  return ('WARN', join("\n", $errstr, $warnmsg) ) if $warnmsg;
Note: See TracChangeset for help on using the changeset viewer.