Zonemaster::Backend::TLD_URL
This Perl module is the backend for the RPCAPI method "get_tld_url"
process ($self, $domain)
Processes the domain name ($domain) for Zonemaster::Backend::RPCAPI::get_tld_url and returns a complete hash reference to be returned by the RPCAPI. See domain name for a specification of the features implemented in this module.
url_from_override ($dom, $tld, $include_source, $href_or)
Used by subroutine "process" to do the "dirty work" to process any overrides in the configuration.
The following variables are mandatory in the call:
The domain name to be processed ($dom)
The TLD extracted from the domain name ($tld)
Boolean value whether source of URL should be indicated in the result ($include_source)
Reference of a HASH of the override data (if any) from the configuration file ($href_or)
A HASH reference ready to be sent by the RPCAPI is returned. Or empty then not to be sent.
url_from_txt_record ($dom, $tld, $timeout, $include_source)
Used by subroutine "process" to do the "dirty work" to process the TXT lookup and the postprocessing of it.
The following variables are mandatory in the call:
The domain name to be processed ($dom)
The TLD extracted from the domain name ($tld)
The time limit for the lookup ($timeout)
Boolean value whether source of URL should be indicated in the result ($include_source)
A HASH reference ready to be sent by the RPCAPI is returned. Or empty then not to be sent.
url_from_rdap ($tld, $timeout, $include_source )
Used by subroutine "process" to do the "dirty work" to process the IANA RDAP lookup and the postprocessing of it.
The following variables are mandatory in the call:
The TLD extracted from the domain name ($tld)
The time limit for the lookup ($timeout)
Boolean value whether source of URL should be indicated in the result ($include_source)
A HASH reference ready to be sent by the RPCAPI is returned. Or empty then not to be sent.