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

fix: Use a more reliable WHOIS server for .mx #21

Merged
merged 1 commit into from
May 2, 2024
Merged

fix: Use a more reliable WHOIS server for .mx #21

merged 1 commit into from
May 2, 2024

Conversation

AlfredoRamos
Copy link
Contributor

Summary

In #20 it added support for .MX domains, however that uses the whois.mx server, which sometimes, and for some ccSLD like .org.mx, gives time-out errors.

$ go build -o bin/whois cmd/whois/main.go
$ bin/whois [REDACTED].org.mx
dial tcp 5.161.210.2:43: i/o timeout

image

Replacing it with whois.nic.mx fixes this issue for all *.mx extensions.

Checklist

  • Tested and/or added tests to validate that the changes work as intended, if applicable.

@TwiN TwiN merged commit c4399aa into TwiN:master May 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants