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 = $nameserver->name;

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

        @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.

COPYRIGHT

Copyright 2019 CentralNic Ltd. All rights reserved.

LICENSE

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the author not be used in advertising or publicity pertaining to distribution of the software without specific prior written permission.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.