Read from the package's own PHP files at the commit 37166e8ec82a: its namespaces, classes, interfaces and enums, their public constants, properties and methods with their PHPDoc, and the options its factories take. Nothing of it is run.
BootstrapclassIANA's RDAP bootstrap registries (RFC 9224): which RDAP server answers for a top-level domain, an IPv4 or IPv6 range, a range of AS numbers. Read once, kept a day when a cache is given: IANA asks clients not to fetch them on every lookup.
4 methods · 1 constant
RdapclassDomains, IP ranges and autonomous systems, asked of the RDAP server IANA's bootstrap names for them (RFC 9082/9083) - WHOIS's successor, in JSON, free and without a key: a domain's registrar, dates, statuses, name servers and DNSSEC, and its registrant when the registry still publishes it; a network's holder, country and abuse contact.
4 methods
Omnistate\Iana
Bootstrap class
final class Bootstrap Bootstrap.php:17
IANA's RDAP bootstrap registries (RFC 9224): which RDAP server answers for a top-level domain, an IPv4 or IPv6 range, a range of AS numbers. Read once, kept a day when a cache is given: IANA asks clients not to fetch them on every lookup.
const URL = 'https://data.iana.org/rdap/%s.json'
Bootstrap::__construct()
public function __construct(readonly HttpClientInterface $http, readonly ?CacheInterface $cache = null, readonly float $timeout = 10)Bootstrap::forDomain()
public function forDomain(string $domain): ?stringThe RDAP server for a domain, by its top-level domain.
Bootstrap::forIp()
public function forIp(string $ip): ?stringThe RDAP server for an IP address, by the range holding it.
Bootstrap::forAutnum()
public function forAutnum(int $number): ?stringThe RDAP server for an AS number.
Rdap class
final class Rdap implements InternetRegistryInterface Rdap.php:21
Domains, IP ranges and autonomous systems, asked of the RDAP server IANA's bootstrap names for them (RFC 9082/9083) - WHOIS's successor, in JSON, free and without a key: a domain's registrar, dates, statuses, name servers and DNSSEC, and its registrant when the registry still publishes it; a network's holder, country and abuse contact.
Rdap::__construct()
public function __construct(readonly HttpClientInterface $http, readonly Bootstrap $bootstrap, readonly float $timeout = 10)Rdap::name()
public function name(): stringRdap::domain()
public function domain(string $name): ?DomainRdap::network()
public function network(string $address): ?Network