Use address2rir() to ask a particular RIR or IANA if not yet allocated
commitbb29f670a3af5a012b247dbd9cc598ba3310c840
authorPetr Písař <petr.pisar@atlas.cz>
Thu, 10 Dec 2020 12:54:41 +0000 (10 13:54 +0100)
committerPetr Písař <petr.pisar@atlas.cz>
Thu, 10 Dec 2020 12:54:41 +0000 (10 13:54 +0100)
tree494fa580f340f164f400ab33f369b67234f8d3ed
parente64b932fb8e4411dd781f052e6bae4eb54e55366
Use address2rir() to ask a particular RIR or IANA if not yet allocated

This disables a heuristic compiled into whois(1) tool. That's necessary
to ditch the tool from the dependencies and use TCP connections
directly.

If an networks range has not yet been allocated, IANA WHOIS server will
be querried. IANA provides redirects. This enabled this program to work
even without noticing the new delegation.
lib/App/Abuser.pm
t/iana.t [new file with mode: 0644]
t/stub/whois