Net::RD...Registry(3)
β¨ NAME β¨
okay so bestie, this page is the manual for Net::RDAP::Registry β a module that gives you an interface to the IANA RDAP registries. it's from the User Contributed Perl Documentation section of the perl man pages, and we're gonna go through it together, no skipping π
πΈ SYNOPSIS πΈ
here's the vibe, copy-paste ready:
use Net::RDAP::Registry;
use Net::IP;
use Net::ASN;
$url = Net::RDAP::Registry->get_url(Net::DNS::Domain->new('example.com'));
$url = Net::RDAP::Registry->get_url(Net::IP->new('192.168.0.1'));
$url = Net::RDAP::Registry->get_url(Net::IP->new('2001:DB8::/32'));
$url = Net::RDAP::Registry->get_url(Net::ASN->new(65536));
$url = Net::RDAP::Registry->get_url('ABC123-TAG');
π¦ DESCRIPTION π¦
so like, RFC 7484 is the whole blueprint for how RDAP clients figure out which RDAP service is the authoritative one for any given internet resource β and they do it by checking one of several IANA registries. that's the lore π
this module is your bestie who handles that for you: it gives you an interface to those registries and hands back a URI object matching the URL for a resource that came from them. slay.
and the way it keeps things fresh? Net::RDAP::Registry downloads the registry files straight from the IANA website and keeps up-to-date local copies of those files chilling on your machine. always current, never stale, periodt β¨
π METHODS π
$url = Net::RDAP::Registry->get_url($resource);
this method returns a URI object corresponding to the authoritative RDAP URL for whatever resource you throw at it. and $resource can be literally any one of these:
- a
Net::IPobject representing an IPv4 or IPv6 address or address range; - a
Net::ASNobject representing an Autonymous System; - a
Net::DNS::Domainobject representing a domain name. - a string containing a tagged entity handle
fr fr, this method requires you to pass objects β that's not a vibe check it's a validation check, so the resource identifiers are properly validated before anything happens π«Ά
and if there's just no URL to be found in the IANA registry? then undef is returned. no drama, just undef π
π COPYRIGHT π
Copyright 2018-2023 CentralNic Ltd, 2024-2026 Gavin Brown. for licensing info, pls see the LICENSE file in the Net::RDAP distribution β iykyk, go read it, it's giving responsible π
and that's the whole page bestie!! this was pulled from perl v5.42.2, dated 2026-06-17, and the man page is Net::RD...Registry(3) β ty for reading, ur officially iconic πβπ
π¦ where this page comes from
- fedora 44: perl-Net-RDAP 0.43-1.fc44 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms