eithan1231 / whois-light

Extremely lightweight and highly performant whois client
17 stars 5 forks source link

Broken TLD #2

Closed ipmanlk closed 2 years ago

ipmanlk commented 2 years ago

Describe the bug
.se TLD is broken. Library fails to resolve information for it.

{
errno: -3008,
code 'ENOTFOUND'
syscall: 'getaddrinfo'
hostname: 'whois.nic-se.se'
}

To Reproduce Try to resolve whois information for any .se domain.

Module version
v1.1.2

Additional context I believe whois.nic-se.se should be updated to whois.iis.se

eithan1231 commented 2 years ago

I will crawl the icann website over the next few days and update the list.

thank you for reporting!

eithan1231 commented 2 years ago

I have published version 1.1.3 which will include a fix for this.

A script was also added which will allow for the whois server list to be automatically updated:

https://github.com/eithan1231/whois-light/blob/master/scripts/refresh.js