1
mirror of https://github.com/jakejarvis/rdapper.git synced 2025-10-18 20:14:27 -04:00

Update WHOIS TLD exceptions: refine server entries, correct outdated references, and enhance documentation for clarity.

This commit is contained in:
2025-09-24 19:09:26 -04:00
parent 6857b0d11b
commit 3429c70bd7

View File

@@ -1,15 +1,17 @@
// Curated non-standard authoritative WHOIS servers by TLD
// Curated authoritative WHOIS servers by TLD (exceptions to default/referral logic)
// Source of truth checked against IANA delegation records; prefer RDAP first.
export const WHOIS_TLD_EXCEPTIONS = {
// gTLDs
// gTLDs (port-43 still available at registry)
com: "whois.verisign-grs.com",
net: "whois.verisign-grs.com",
org: "whois.pir.org",
info: "whois.afilias.net",
org: "whois.publicinterestregistry.org", // PIR
biz: "whois.nic.biz",
name: "whois.nic.name",
cat: "whois.nic.cat",
edu: "whois.educause.edu",
gov: "whois.dotgov.gov",
gov: "whois.nic.gov", // was whois.dotgov.gov
// ccTLDs and others
// ccTLDs & other TLDs with working port-43 WHOIS
de: "whois.denic.de",
jp: "whois.jprs.jp",
fr: "whois.nic.fr",
@@ -24,20 +26,31 @@ export const WHOIS_TLD_EXCEPTIONS = {
es: "whois.nic.es",
br: "whois.registro.br",
ca: "whois.cira.ca",
dk: "whois.dk-hostmaster.dk",
dk: "whois.punktum.dk", // was whois.dk-hostmaster.dk
hk: "whois.hkirc.hk",
sg: "whois.sgnic.sg",
in: "whois.registry.in",
nz: "whois.srs.net.nz",
in: "whois.nixiregistry.in", // was whois.registry.in
nz: "whois.irs.net.nz", // was whois.srs.net.nz
ch: "whois.nic.ch",
li: "whois.nic.li",
io: "whois.nic.io",
ai: "whois.nic.ai",
ru: "whois.tcinet.ru",
su: "whois.tcinet.ru",
us: "whois.nic.us",
co: "whois.nic.co",
me: "whois.nic.me",
tv: "whois.nic.tv",
cc: "ccwhois.verisign-grs.com",
eu: "whois.eu",
au: "whois.auda.org.au",
kr: "whois.kr",
tw: "whois.twnic.net.tw",
uk: "whois.nic.uk",
nu: "whois.iis.nu",
"xn--p1ai": "whois.tcinet.ru", // .рф
// CentralNic-operated second-level zones (treat as exceptions here for simplicity)
// CentralNic-operated public SLD zones (still WHOIS @ centralnic)
"uk.com": "whois.centralnic.com",
"uk.net": "whois.centralnic.com",
"gb.com": "whois.centralnic.com",
@@ -50,4 +63,5 @@ export const WHOIS_TLD_EXCEPTIONS = {
"ru.com": "whois.centralnic.com",
"cn.com": "whois.centralnic.com",
"sa.com": "whois.centralnic.com",
"co.com": "whois.centralnic.com",
} as Record<string, string>;