Skip to content

Full Toolkit for Next-Level Domain Analysis

Add more WHOIS keywords for unregistered domains 👀

Felix Wotschofsky2994fd61d3be
diff --git a/lib/whois.ts b/lib/whois.ts
index 0b66570..ce5707a 100644
--- a/lib/whois.ts
+++ b/lib/whois.ts
@@ -29,13 +29,27 @@ export const lookupWhois = async (domain: string) => {
};
const UNREGISTERED_INDICATORS = [
+ 'domain not found',
+ 'no information available',
+ 'no se encuentra registrado', // ar
+ 'object_not_found', // mx
+ 'available for registration',
'is free', // .nl
+ 'no data was found', // co.il
+ 'no entries found', // cz
'no data found',
+ 'no information was found',
'no match',
'no object found',
'not been registered',
+ 'does not exist', // top
'not found',
+ 'reserved', // fit len.fit / 5735.win
'status: free',
+ 'status: available', // eu
+ 'available', // africa
+ ' available', // it
+ ' unassignable', // postiglione.sa.it
];
type WhoisSummary =