Changeset 621
- Timestamp:
- 04/29/14 14:37:56 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r620 r621 4046 4046 if $defrec eq 'n'; 4047 4047 $logdata{entry} = "Added ".($defrec eq 'y' ? 'default record' : 'record'); 4048 # NS records for revzones get special treatment4049 if ($revrec eq 'y' && $$rectype == 2) {4048 # Log reverse records to match the formal .arpa tree 4049 if ($revrec eq 'y') { 4050 4050 $logdata{entry} .= " '$$val $typemap{$$rectype} $$host"; 4051 4051 } else { … … 4230 4230 if $defrec eq 'n'; 4231 4231 $logdata{entry} = "Updated ".($defrec eq 'y' ? 'default record' : 'record')." from\n"; 4232 # NS records for revzones get special treatment4233 if ($revrec eq 'y' && $$rectype == 2) {4232 # Log reverse records "naturally", since they're stored, um, unnaturally. 4233 if ($revrec eq 'y') { 4234 4234 $logdata{entry} .= " '$oldrec->{val} $typemap{$oldrec->{type}} $oldrec->{host}"; 4235 4235 } else { … … 4244 4244 if $oldrec->{stampactive}; 4245 4245 $logdata{entry} .= "\nto\n"; 4246 # More NS special4247 if ($revrec eq 'y' && $$rectype == 2) {4246 # Log reverse records "naturally", since they're stored, um, unnaturally. 4247 if ($revrec eq 'y') { 4248 4248 $logdata{entry} .= "'$$val $typemap{$$rectype} $$host"; 4249 4249 } else {
Note:
See TracChangeset
for help on using the changeset viewer.