Net::RD...Service(3)

πŸ“¦
version 0.43 Β· 3 versions
, in fedora 44

πŸ’– Net::RDAP::Registry::IANARegistry::Service πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation collection, and the module itself is Net::RDAP::Registry::IANARegistry::Service β€” yes the name is a whole mouthful, we don't talk about it πŸ’€


✨ NAME ✨

Net::RDAP::Registry::IANARegistry::Service β€” a module which represents an RDAP service in an IANA bootstrap registry. that's the whole vibe, she's a little representation machine πŸŽ€


🌸 DESCRIPTION 🌸

so every single entry in an IANA RDAP Bootstrap registry represents one specific RDAP service, and that service matches up with the unique identifiers that belong to that entry β€” think top-level domains, IP blocks, or AS number ranges πŸ¦‹

this class is literally the glow-up representation of those entries. it's giving "I hold the info, you hold the vibes" πŸ’…

and like, important note: this class is used internally by Net::RDAP::Registry. so she's not out here doing main character energy on her own β€” she's a supporting icon, and we respect that 🫢


πŸŽ€ CONSTRUCTOR πŸŽ€

the constructor accepts two or three arguments, so you've got options, and we love options:

$svc = Net::RDAP::Registry::IANARegistry::Service->new(
    $registryref,
    $urlref,
);

# or:

$svc = Net::RDAP::Registry::IANARegistry::Service->new(
    $registrant,
    $registryref,
    $urlref,
);

now let's break down the cast, one by one πŸ‘‘

  • $registrant β€” the email address of the registrant of the service. like, who's the owner, drop the contact info bestie πŸ’Œ
  • $registryref β€” a reference to an array of "registries", i.e. top-level domains, IP address blocks, ASN ranges, or object tags. one array, so many identities ✨
  • $urlref β€” a reference to an array of RDAP base URLs. the actual addresses of the place, slay πŸ”₯

πŸ¦‹ METHODS πŸ¦‹

@urls = $svc->urls;

this method returns an array of "URI" objects representing the RDAP base URL(s) for the RDAP service. so like, the real actual addresses, wrapped up all cute in "URI" objects πŸŽ€

@registries = $svc->registries;

this method returns an array of "registries" (TLDs, IP blocks, ASN ranges, etc) for which the RDAP service is authoritative. she's the boss of all these, no cap πŸ‘‘

$registrant = $svc->registrant;

this method returns the registrant of the entry into the registry. typically that's an email address, cute and simple πŸ’Œ

⚠️ heads up bestie: as of writing, only entries in the Object Tag registry have registrants. so if you're getting undef from somewhere else, that's not a bug, that's just how it is πŸ™ˆ

Copyright 2018-2023 CentralNic Ltd, 2024-2026 Gavin Brown. For licensing information, please see the "LICENSE" file in the Net::RDAP distribution. read the license, it's the rules, we respect the rules πŸ’…


and that's the whole page, periodt πŸ’– this was Net::RDAP::Registry::IANARegistry::Service(3) from the perl v5.42.2 manual pages, dated 2026-06-17 β€” go forth and query responsibly, bestie 🌈⭐

πŸ“¦ where this page comes from