Skip to content

DNS, RDAP, and WHOIS ​

DNS ​

DnsService includes a from-scratch DNS message/transport layer (record types, response codes). Use it when you need explicit DNS behavior rather than only OS resolver defaults.

RDAP ​

RdapService queries registration data for domains (and IP where supported).

csharp
using JASE.Network;

RdapDomainResponse domain = await RdapService.DomainQueryAsync("example.com");

// Optional: refresh provider registry from source
await RdapService.RefreshProviderRegistryFromSourceAsync(cancellationToken);

Domain queries support registry-aware routing and explicit provider / base-URL overloads. IP/ASN overload parity and full IANA bootstrap routing are still deepening — check JASE.Network/ROADMAP.md before depending on advanced IP registry-direct behavior.

WHOIS ​

WhoisService maps TLDs to WHOIS servers and runs queries.

csharp
bool known = WhoisService.IsWhoisTld("example.com");
WhoisService.TryGetWhoisServer("example.com", out WhoisServerMatch match);

Embedded server maps can be refreshed from JSON. Prefer RDAP for structured modern lookups when the TLD supports it; keep WHOIS for coverage gaps and operational familiarity.

Public suffix ​

PublicSuffix / DomainSuffix parse registrable domains using the Public Suffix List, with refresh support — useful for cookie domains and “what is the eTLD+1?” logic.