Aller au contenu

omnistate/iana Référence de l’API

Étage
Fournisseur · Omnistate
Version
1.x
Suite de conformité
branchée, CI non lue
Vérifié en réel
Son README ne le dit pas
Licence
MIT
composer require omnistate/iana:1.x-dev

Lue dans les fichiers PHP du paquet au commit 37166e8ec82a : ses espaces de noms, classes, interfaces et énumérations, leurs constantes, propriétés et méthodes publiques avec leur PHPDoc, et les options que prennent ses fabriques. Rien n’en est exécuté.

Omnistate\Iana

  • Bootstrap class

    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.

    4 methods · 1 constant

  • Rdap class

    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.

    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): ?string

The RDAP server for a domain, by its top-level domain.

Bootstrap::forIp()

public function forIp(string $ip): ?string

The RDAP server for an IP address, by the range holding it.

Bootstrap::forAutnum()

public function forAutnum(int $number): ?string

The 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(): string

Rdap::domain()

public function domain(string $name): ?Domain

Rdap::network()

public function network(string $address): ?Network