Changeset 661
- Timestamp:
- 09/30/14 17:28:03 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r660 r661 781 781 } else { 782 782 # New record. Always warn if a PTR exists 783 # Don't warn when a matching A record exists tho 783 784 my ($ptrcount) = $dbh->selectrow_array("SELECT count(*) FROM "._rectable($args{defrec},$args{revrec}). 784 " WHERE $hostcol = ? ", undef, ($checkme));785 " WHERE $hostcol = ? AND (type=12 OR type=65280 OR type=65281)", undef, ($checkme)); 785 786 $warnflag .= "PTR record for $checkme already exists; adding another will probably not do what you want" 786 787 if $ptrcount;
Note:
See TracChangeset
for help on using the changeset viewer.