Changeset 665


Ignore:
Timestamp:
10/07/14 18:01:43 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Log downconversion of A(AAA)+PTR types to A/AAAA or PTR on RPC deletion
of a record that retains the forward entry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r664 r665  
    44974497  eval {
    44984498    $dbh->do("UPDATE records SET $delpar = ?, type = ? WHERE record_id = ?", undef, @sqlargs);
     4499    $self->_log(domain_id => $rec->{domain_id}, rdns_id => $rec->{rdns_id},
     4500        group_id => $self->parentID(id => $rec->{rdns_id}, type => 'revzone', revrec => 'y'),
     4501        entry => "'$rec->{host} $typemap{$rec->{type}} $rec->{val}' downconverted to ".
     4502                "'$rec->{host} $typemap{$newtype} $rec->{val}'");
    44994503    $dbh->commit;
    45004504  };
Note: See TracChangeset for help on using the changeset viewer.