Net::RDAP::Object(3)
β¨ Net::RDAP::Object β¨
okay bestie so this is the manual page for Net::RDAP::Object(3), which lives in the User Contributed Perl Documentation section of the perl man pages π
. buckle up, it's actually so good.
πΈ NAME πΈ
Net::RDAP::Object β a module representing an RDAP object. that's it, that's the whole vibe π¦
π DESCRIPTION π
so RDAP responses contain one or more RDAP objects. usually the response itself is an RDAP object, but plot twist: RDAP objects can contain other RDAP objects (like the entities and nameservers that are associated with a domain name). it's giving nesting dolls, honestly π
Net::RDAP::Object represents those objects, whether they're top-level or embedded. and the way it inherits from Net::RDAP::Base means it has literally all the methods available to that module too. main character inheriting from main character, no cap π
π METHODS π
π¦ RDAP Conformance π¦
@conformance = $response->conformance;
returns an array of strings, and each one is a little hint about the specs the server used to construct the response. it's like a receipt of what they were reading π§
heads up bestie: this method will return undef unless you call it on the top-most object in a response. only the main character gets conformance β¨
π Notices π
@notices = $response->notices;
returns a (potentially empty) array of Net::RDAP::Notice objects.
and fr fr: the array will always be empty unless you call it on the top-most object in a response π
β Object Class β
$class = $object->class;
returns a string with the "class name" of this object. it'll be exactly one of: "ip network", "entity", "nameserver", "autnum" or "domain". pick your fighter π
π Handle π
$handle = $object->handle;
returns a string containing the "handle" of the object. yes, like a little name tag π·οΈ
π Status π
@status = $object->status;
returns a (potentially empty) array of state identifiers. the possible values are defined by an IANA registry, so go check:
iykyk π
πΈ Remarks πΈ
@remarks = $object->remarks;
returns a (potentially empty) array of Net::RDAP::Remark objects.
π₯ Events π₯
@events = $object->events;
returns a (potentially empty) array of Net::RDAP::Event objects.
$event = $object->event($action);
returns the first Net::RDAP::Event object whose "action" property matches $action. and if there's no such event? you get undef, sorry babe π
π Port-43 Whois Server π
$port43 = $object->port43;
returns a Net::DNS::Domain object containing the name of the legacy port-43 whois server for this object. retro icon behavior, honestly π
β¨ Public IDs β¨
@ids = $object->ids;
returns a (potentially empty) array of Net::RDAP::ID objects.
π§ Entities π§
@entities = $object->entities;
returns a (potentially empty) array of Net::RDAP::Object::Entity objects.
$entity = $object->entity($role);
returns the first Net::RDAP::Object::Entity object whose "roles" property contains $role. no match? undef. that's the rule π
$registrant = $object->registrant;
alias for $object->entity('registrant'). shorthand queen π
$registrar = $object->registrar;
alias for $object->entity('registrar'). she's efficient, we love her π«Ά
π Redactions π
@redactions = $object->redactions;
if the server supports RFC 9537 <https://www.rfc-editor.org/rfc/rfc9537.html>, then this method returns an array of Net::RDAP::Redaction objects corresponding to the fields listed in the "redacted" property of the object. censored but make it chic β¨
π TTL values π
$ttl = $domain->dns_ttl("NS");
$ttl = $host->dns_ttl("AAAA");
if the server supports draft-ietf-regext-rdap-ttl-extension <https://datatracker.ietf.org/doc/draft-ietf-regext-rdap-ttl-extension/>, this method returns a number representing the Time-To-Live (TTL) (in seconds) of the DNS record(s) of the specified type that are published in the DNS for the given domain or nameserver object.
it returns undef if the server does not support this extension, or if there are no values available for the given type. and psa: not applicable to entities π«
@types = $domain_or_host->dns_ttl_types;
returns a list of the DNS record types for which TTL values are available.
@types = $domain_or_host->dns_ttl_remarks;
returns a list of Net::RDAP::Remark objects relating to the TTL values of the object. (yes, the variable is called @types in the original, we don't question it, we just vibe πΈ)
π¦ Extensions π¦
$object->has_extension($extn);
this method returns true if the RDAP extension identified by $extn is present in the "rdapConformance" property.
careful bestie: this method only works on the topmost object of a response. don't try it anywhere else π
π COPYRIGHT π
copyright 2018-2023 CentralNic Ltd, 2024-2026 Gavin Brown. for licensing info, please see the "LICENSE" file in the Net::RDAP distribution π
and that's the whole page, bestie π«Ά this was perl v5.42.2, dated 2026-06-17, and it's the Net::RDAP::Object(3) page β slay, go read some RDAP objects, periodt π
β¨
π¦ 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