Add PTR reverse record search to IP search
The IP based search currently only searches for the exact IP address
entered. The reverse search should be also added, now that domain search
performance is acceptable (#6313 (closed)).
So, with 127.0.0.1
, also 1.0.0.127.in-addr.arpa
should be searched,
in ips
(ORed the domain with the IP address), texts
(both lvalue
and rvalue
) and negatives
. Similarly for the IPv6 addresses.
This might be a bit tricky for prefixes, especially those not
byte-aligned, so best start first with plain IPs only and add subnet
support later.
Author: Radko Krkoš krkos@cesnet.cz