Skip to content

Google WHOIS deprecated for .app/.dev #128

@robinmiau

Description

@robinmiau

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions