Changeset 457
- Timestamp:
- 01/17/13 13:56:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r455 r457 3936 3936 3937 3937 my ($revpatt) = $dbh->selectrow_array("SELECT r.host FROM records r JOIN revzones z ON r.rdns_id=z.rdns_id ". 3938 "WHERE (r.type =65282 OR r.type=65283) AND z.group_id=? AND CAST (r.val AS inet) >>= ? ".3938 "WHERE (r.type in (12,65280,65281,65282,65283,65284)) AND z.group_id=? AND CAST (r.val AS inet) >>= ? ". 3939 3939 "ORDER BY CAST (r.val AS inet) DESC LIMIT 1", undef, ($group, $cidr) ); 3940 3940 return $revpatt;
Note:
See TracChangeset
for help on using the changeset viewer.