likexian / whois

Whois client for domain and ip whois information query in Go(Golang).
Apache License 2.0
382 stars 70 forks source link

Error parsing WHOIS server when godaddy throws bad domain info #17

Closed lapubell closed 3 years ago

lapubell commented 3 years ago

This package is great. I've been finding lots of bad info inside WHOIS info from using this, and godaddy is not returning a valid host for a few domains:

$ whois the4ccoalition.org
...
Registrar WHOIS Server: whois.godaddy
...

$ whois pgsf.org
...
Registrar WHOIS Server: whois.godaddy
...
likexian commented 3 years ago

Hello @lapubell Thanks for your PR, this is the mistake of Godaddy, they return a wrong whois server, I have try to contact them to fix it, but no response. I will merge your PR, but this is not a elegant fix.


If you think this repository is helpful, please share it with friends, thanks.