Zonemaster::Engine::ASNLookup(3pm) | User Contributed Perl Documentation | Zonemaster::Engine::ASNLookup(3pm) |
Zonemaster::Engine::ASNLookup - do lookups of ASNs for IP addresses
my ( $asnref, $prefix, $raw, $ret_code ) = Zonemaster::Engine::ASNLookup->get_with_prefix( '8.8.4.4' ); my $asnref = Zonemaster::Engine::ASNLookup->get( '192.168.0.1' );
Returns a list of a reference to a list of AS numbers, a Net::IP::XS object of the covering prefix for that AS, a string of the raw query, and a string of the return code for that query.
2023-10-01 | perl v5.36.0 |