whoiser icon indicating copy to clipboard operation
whoiser copied to clipboard

Google WHOIS deprecated for .app/.dev

Open robinmiau opened this issue 1 month ago • 0 comments

Version(s) affected: 2.0.0-beta.9

Description
Searching for .app and .dev domains fails because Google's whois server is no longer active.

How to reproduce

import * as whoiser from 'whoiser';

async function lookup() {
    const domainWhois = await whoiser.whoisDomain('get.dev')
    console.log(domainWhois);
}

lookup();

This will output:

{
  'whois.nic.google': { error: 'getaddrinfo ENOTFOUND whois.nic.google' }
}

Possible Solution
Instead, you should use their RDAP endpoint: https://pubapi.registry.google/rdap/domains?name=get.dev

robinmiau avatar Nov 25 '25 17:11 robinmiau