NAME

Net::RDAP::Object::Nameserver - a module representing a nameserver.

DESCRIPTION

Net::RDAP::Object::Nameserver represents DNS servers to which domain names are delegated.

Net::RDAP::Object::Nameserver 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.

$name = $domain->unicodeName;

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

@addrs = $nameserver->addresses($version);

Returns a (potentially empty) array of Net::IP objects representing the nameserver's IP addresses. $version can be either "v4" or "v6" to restrict the addresses returned to IPv4 and IPv6, respectively (if ommitted, all addresses are returned).

COPYRIGHT

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