omnistate / iana
Omnistate IANA: domains, IP addresses and AS numbers through IANA's RDAP bootstrap - the registrar, the dates, the name servers, who holds a network. Free, no key.
No longer found in upstream repository
Requires
- php: >=8.2
- glitchr/omnistate: ^1.0@dev
- symfony/http-client-contracts: ^3.0
Requires (Dev)
- phpunit/phpunit: ^11.0
- symfony/http-client: ^6.4|^7.0|^8.0
Suggests
- ext-intl: International domain names (idn_to_ascii)
Provides
None
Conflicts
None
Replaces
None
README
Domains, IP ranges and autonomous systems through IANA's RDAP bootstrap (RFC 9224) and the registry it names (RFC 9082/9083) - WHOIS's successor, in JSON, free, no key. For glitchr/omnistate.
$rdap = new Rdap($httpClient, new Bootstrap($httpClient, $cache)); $rdap->domain('glitchr.dev'); // registrar (IANA ID), registered/expires, statuses, name servers, DNSSEC $rdap->network('193.0.6.139'); // the range, its holder, country, abuse contact $rdap->network('AS15169'); // an autonomous system
The bootstrap files are read once and kept a day with a cache, as IANA asks. A registrant is null where the registry no longer publishes it (most, since the GDPR).