NAME

Net::RDAP::Registry::IANARegistry::Service - a module 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. For licensing information, please see the LICENSE file in the Net::RDAP distribution.