Clarify domain expiry warning for TLDs without RDAP endpoints (#6620)

This commit is contained in:
Frank Elsinga 2026-01-06 20:37:06 +01:00 committed by GitHub
commit 07d3dce3d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -152,7 +152,7 @@ class DomainExpiry extends BeanModel {
const tld = parseTld(urlTypes.includes(m.type) ? m.url : m.type === "grpc-keyword" ? m.grpcUrl : m.hostname);
const rdap = await getRdapServer(tld.publicSuffix);
if (!rdap) {
log.warn("domain", `${tld.publicSuffix} is not supported. File a bug report if you believe it should be.`);
log.warn("domain", `Domain expiry unsupported for '.${tld.publicSuffix}' because its RDAP endpoint is not listed in the IANA database.`);
return false;
}
const existing = await DomainExpiry.findByName(tld.domain);