NAME

Net::RDAP::Object::Domain - a module representing a domain name.

DESCRIPTION

Net::RDAP::Object::Domain represents a domain name - either a "forward" domain such as example.com or a "reverse" domain such as 1.168.192.in-addr.arpa.

Net::RDAP::Object::Domain inherits from Net::RDAP::Object so has access to all that module's methods.

Other methods include:

$name = $domain->name;

Returns a Net::DNS::Domain representing the name of the nameserver.

$name = $domain->unicodeName;

Returns a string containing the DNS Unicode name of the domain (or undef).

@ns = $domain->nameservers;

Returns a (potentially empty) array of Net::RDAP::Object::Nameserver objects representing the domain's nameservers.

$signed = $domain->zoneSigned;

Returns a true value if the zone has been signed.

$signed = $domain->delegationSigned;

Returns a true value if true if there are DS records in the parent.

$time = $domain->maxSigLife;

Returns an integer representing the signature lifetime in seconds to be used when creating the RRSIG DS record in the parent zone.

my @ds = $domain->ds();

Returns a (potentially empty) array of Net::DNS::RR::DS objects representing the domain's DS records.

my @keys = $domain->keys();

Returns a (potentially empty) array of Net::DNS::RR::DNSKEY objects representing the domain's DNSSEC keys.

$network = $domain->network;

If this domain is a reverse domain, this method will return a Net::RDAP::Object::IPNetwork object which represents the IP network corresponding to the domain.

my @variants = $domain->variants;

Returns a (potentially empty) array of Net::RDAP::Variant objects representing variants of the domain name.

COPYRIGHT

Copyright 2018-2023 CentralNic Ltd, 2024 Gavin Brown. For licensing information, please see the LICENSE file in the Net::RDAP distribution.