Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for .vn domain #244

Merged
merged 2 commits into from
Jan 25, 2024
Merged

Conversation

vucong2409
Copy link
Contributor

@vucong2409 vucong2409 commented Jan 23, 2024

Hi guys,
As the title say this MR is to add support for .vn domains. I use whois.net.vn since I can't find any public RDAP/Whois server that provide whois information related to this ccTLD.

Changes in this MR:

  • Add adapter for .vn domains
  • Let request() func in whois.go use Text() method instead of use resp.body directly to allow adapter make changes to response body.
  • Increase context timeout in test since whois.net.vn response time is > 2s most of the time.

@caarlos0 caarlos0 merged commit 8fd3c3e into caarlos0:main Jan 25, 2024
2 checks passed
@caarlos0
Copy link
Owner

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants