Skip to content

Commit 2f8c7c6

Browse files
authored
Merge pull request #50 from stack127labs/fix/domain-extension-support
Domain tools: check 1,306 of 1,437 endings with WHOIS fallback and verified RDAP overrides
2 parents e254648 + 538e618 commit 2f8c7c6

68 files changed

Lines changed: 5646 additions & 260 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎app/(site)/(catalogs)/[slug]/content/domain-tools/article.mdx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ Find the question you're asking.
1818

1919
## Is WHOIS still used?
2020

21-
Mostly not. ICANN stopped requiring WHOIS for most generic endings, such as `.org`, on 28 January 2025, and RDAP replaced it. People still call it a WHOIS lookup, but the lookup tools here read RDAP only. The [domain lookup](/domain-lookup) page explains how the two differ.
21+
Less and less. ICANN stopped requiring WHOIS for most generic endings, such as `.org`, on 28 January 2025, and RDAP replaced it. Some country endings, such as `.it`, `.eu`, and `.jp`, still offer only WHOIS. The tools here use RDAP when the registry offers it and the registry's WHOIS server when it doesn't. The [domain lookup](/domain-lookup) page explains how the two differ.
2222

2323
## Can every domain ending be looked up?
2424

25-
No. Some endings, mostly country endings, don't publish RDAP. For those, the tools say they can't check the name, which doesn't mean it's free. The [TLD directory](/tld-directory) shows which endings can be looked up and links each registry.
25+
Most can, but not all. A few endings, mostly small country endings, have no lookup service the tools can use. For those, the tools say they can't check the name, which doesn't mean it's free. The [TLD directory](/tld-directory) shows how each ending is checked and links each registry.
2626

2727
## Can I see who owned a domain before?
2828

29-
No. RDAP returns only the current record, with no past owners or old nameservers. Sites that show history use copies they saved over time.
29+
No. The registry returns only the current record, with no past owners or old nameservers. Sites that show history use copies they saved over time.
3030

3131
## What happens to the names I look up?
3232

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
## Why can't some domain extensions be looked up?
22

3-
Our domain tools read registration data over RDAP, and some registries don't offer it. The Lookups column shows where each ending stands.
3+
Our domain tools ask each ending's registry over RDAP when it offers it, and over WHOIS when it doesn't. A few registries offer neither in a form we can use. The Lookups column shows where each ending stands.
44

55
| Lookups | What it means |
66
| --- | --- |
77
| Yes | The registry is in [IANA's RDAP directory](https://data.iana.org/rdap/dns.json). |
88
| Via our own list | The registry runs RDAP but isn't in IANA's directory. We added it after testing it with a real domain. The name under the label runs the service. |
9-
| Cannot check | We know of no RDAP service for this ending, so our lookup and availability tools can't answer for it. |
9+
| Via WHOIS | The registry has no RDAP service we know of, so we read its WHOIS server. We added it after testing it with a real domain and a made-up one. WHOIS text can leave out fields that RDAP would show. |
10+
| Cannot check | We know of no RDAP service, and the WHOIS server is missing or didn't pass our tests. Our lookup and availability tools can't answer for this ending. |
1011

11-
A "Cannot check" ending may still have a WHOIS server or a lookup on the registry's website. Its page in [IANA's root zone database](https://www.iana.org/domains/root/db) lists both. [Domain lookup](/domain-lookup) explains how RDAP and WHOIS differ.
12+
A "Cannot check" ending may still have a lookup on the registry's website. Its page in [IANA's root zone database](https://www.iana.org/domains/root/db) links to it. [Domain lookup](/domain-lookup) explains how RDAP and WHOIS differ.

‎app/(site)/(directories)/tld-directory/content/sources.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
- Type and operator: [IANA's root zone database](https://www.iana.org/domains/root/db).
44
- DNSSEC: DS records in the [root zone file](https://www.internic.net/domain/root.zone).
5-
- Lookups: [IANA's RDAP directory](https://data.iana.org/rdap/dns.json), plus the few registries we added by hand.
5+
- Lookups: [IANA's RDAP directory](https://data.iana.org/rdap/dns.json), the RDAP services we added by hand, and WHOIS servers listed in IANA's root zone database that passed our tests.
66

77
A script rebuilds the table from these sources. If a source changes shape, the script stops instead of saving a partial list.

‎app/(site)/(directories)/tld-directory/tld-table.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export type TldRow = {
88
unicode: string | null;
99
type: string | null;
1010
organisation: string | null;
11-
rdap: "bootstrap" | "override" | "none";
11+
rdap: "bootstrap" | "override" | "whois" | "none";
1212
rdapOperator: string | null;
1313
dnssec: boolean;
1414
isIdn: boolean;
@@ -124,6 +124,8 @@ export function TldTable({ rows }: { rows: TldRow[] }) {
124124
<StatePill tone="quiet">Cannot check</StatePill>
125125
) : row.rdap === "override" ? (
126126
<StatePill tone="warn">Via our own list</StatePill>
127+
) : row.rdap === "whois" ? (
128+
<StatePill tone="warn">Via WHOIS</StatePill>
127129
) : (
128130
<StatePill tone="good">Yes</StatePill>
129131
)}

‎app/(site)/(tools)/domain-age/domain-age-tool.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function unavailableResult(result: DomainRegistration) {
7575
if (result.status === "no_service") {
7676
return (
7777
<UiPrimaryResult
78-
detail={`No RDAP registration service is published for .${result.query.tld}.`}
78+
detail={`stack127 has no lookup service it can use for .${result.query.tld}.`}
7979
label="Domain age"
8080
tone="warning"
8181
value="Unavailable"

‎app/(site)/(tools)/domain-availability/domain-availability-tool.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function AvailabilityResult({ result }: { result: DomainRegistration }) {
111111

112112
{result.status === "no_service" ? (
113113
<p className={styles.recovery}>
114-
See RDAP coverage in the <Link href="/tld-directory">TLD directory</Link>.
114+
See which endings we can check in the <Link href="/tld-directory">TLD directory</Link>.
115115
</p>
116116
) : null}
117117

‎app/(site)/(tools)/domain-availability/domain-availability-view.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function formatAvailabilityDate(value: string | null) {
1515
}
1616

1717
function failureDetail(status: RdapFetchStatus, tld: string) {
18-
if (status === "no_service") return `stack127 has no known RDAP service for .${tld}.`;
18+
if (status === "no_service") return `stack127 has no lookup service it can use for .${tld}.`;
1919
if (status === "rate_limited") return "The registry limited this request. Try again shortly.";
2020
if (status === "blocked") return "The registry refused this request. Try again shortly.";
2121
if (status === "timeout") return "The registry did not answer in time. Try again.";

‎app/(site)/(tools)/domain-expiry/domain-expiry-tool.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function unavailableAnswer(result: DomainRegistration) {
143143
return <UiPrimaryResult detail={`${result.query.unicode} has no current expiry date.`} label="Domain expiry" value="Not registered" />;
144144
}
145145
if (result.status === "no_service") {
146-
return <UiPrimaryResult detail={`No RDAP registration service is published for .${result.query.tld}.`} label="Domain expiry" tone="warning" value="Unavailable" />;
146+
return <UiPrimaryResult detail={`stack127 has no lookup service it can use for .${result.query.tld}.`} label="Domain expiry" tone="warning" value="Unavailable" />;
147147
}
148148
if (result.status === "rate_limited" || result.status === "blocked") {
149149
return <UiPrimaryResult detail="The registry limited this request. Try again in a few minutes." label="Domain expiry" tone="warning" value="Could not check" />;

‎app/(site)/(tools)/domain-lookup/content/article.mdx‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
RDAP is the newer way to read public domain registration data, and it replaced WHOIS for generic endings such as `.com` and `.org`. Both read the same registry records. RDAP returns labeled fields and standard event dates, and can declare which data is withheld. WHOIS returns free text that differs by provider.
44

5-
Since 28 January 2025, ICANN no longer requires generic registries and registrars to run WHOIS, except for `.com`, `.name`, and `.post`. [ICANN's RDAP page](https://www.icann.org/rdap) explains the change. This lookup uses RDAP only.
5+
Since 28 January 2025, ICANN no longer requires generic registries and registrars to run WHOIS, except for `.com`, `.name`, and `.post`. [ICANN's RDAP page](https://www.icann.org/rdap) explains the change. This lookup uses RDAP whenever the registry offers it.
66

7-
Country endings such as `.uk` or `.de` set their own rules. Some publish RDAP and some don't. When an ending has none, the result shows `Cannot determine`, which says nothing about whether the name is registered. Use the registry's own lookup, which the ending's page in [IANA's root zone database](https://www.iana.org/domains/root/db) links to. The [TLD directory](/tld-directory) shows which endings have RDAP.
7+
Country endings such as `.uk` or `.it` set their own rules. Many publish RDAP, and some offer only WHOIS. For those, the lookup asks the registry's WHOIS server and reads the text into the same fields: dates, registrar, statuses, and nameservers. A field the text doesn't clearly state stays unknown, and the source line names the server, such as `whois.nic.it`.
8+
9+
A few endings offer neither, or their WHOIS server didn't pass our tests. For those, the result shows `Cannot determine`, which says nothing about whether the name is registered. Use the registry's own lookup, which the ending's page in [IANA's root zone database](https://www.iana.org/domains/root/db) links to. The [TLD directory](/tld-directory) shows how each ending is checked.
810

911
A WHOIS site can show different details because it reads WHOIS text or an older saved copy. Owner details are a separate question, covered in the [registrant lookup](/domain-owner).
1012

‎app/(site)/(tools)/domain-lookup/domain-lookup-tool.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ function LookupResult({ result }: { result: DomainRegistration }) {
195195
<SourceMap result={result} />
196196
{registrarFailure ? <UiStatus tone="warning">The registrar response was incomplete. Registry facts remain available.</UiStatus> : null}
197197
{registered ? <><Dates result={result} /><RegistrarFacts result={result} /><Statuses result={result} /><Nameservers result={result} /><Dnssec result={result} /><Contacts result={result} /></> : null}
198-
{result.status === "no_service" ? <p className={styles.recovery}>See RDAP coverage in the <Link href="/tld-directory">TLD directory</Link>.</p> : null}
198+
{result.status === "no_service" ? <p className={styles.recovery}>See which endings we can check in the <Link href="/tld-directory">TLD directory</Link>.</p> : null}
199199
<Freshness result={result} />
200200
<div className={styles.download}><UiDownloadAction contents={report} filename={`${result.query.domain}-registration.json`} label="Download report" mimeType="application/json;charset=utf-8" /></div>
201201
{notes.length ? <UiDisclosure label="Lookup notes"><ul className={styles.notes}>{notes.map((note) => <li key={note}>{note}</li>)}</ul></UiDisclosure> : null}

0 commit comments

Comments
 (0)