NAME

Net::RDAP::Registry::IANARegistry::Service - a class which represents an RDAP service in an IANA bootstrap registry.

DESCRIPTION

Each of the entries in an IANA RDAP Bootstrap registry represen a specific RDAP service that corresponds to the unique identifiers associated with that entry (e.g. top-level domains, IP blocks, or AS number ranges).

This class provides a representation of these entries.

This class is used internally by Net::RDAP::Registry.

CONSTRUCTOR

The constructor accepts two or three arguments:

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

# or:

$svc = Net::RDAP::Registry::IANARegistry::Service->new(
    $registrant,
    $registryref,
    $urlref,
);
  • $registrant is the email address of the registrant of the service.

  • $registryref is a reference to an array of "registries", i.e. top-level domains, IP address blocks, ASN ranges, or object tags.

  • $urlref is a reference to an array of RDAP base URLs.

METHODS

@urls = $svc->urls;

This method returns an array of URI objects representing the RDAP base URL(s) for the RDAP service.

@registries = $svc->registries;

This method returns an array of "registries" (TLDs, IP blocks, ASN ranges, etc) for which the RDAP service is authoritatie.

$registrant = $svc->registrant;

This method returns the registrant of the entry into the registry. This is typically an email address. Note that as of writing, only entries in the Object Tag registry have registrants.

COPYRIGHT

Copyright 2018-2023 CentralNic Ltd, 2024 Gavin Brown. 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.