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

Cache DNS records #3

Open
kevinburke opened this issue Oct 21, 2016 · 1 comment
Open

Cache DNS records #3

kevinburke opened this issue Oct 21, 2016 · 1 comment

Comments

@kevinburke
Copy link
Collaborator

Twilio has a short TTL on api.twilio.com. In the event of a DNS lookup failure, we should try the last known good IP addresses, as it's unlikely the service has changed IP's.

@kevinburke
Copy link
Collaborator Author

I could accomplish this by overriding DialContext but that would be doing a lot. Potentially I could do the DNS lookup and then always pass an IP address to the default DialContext.

Added a tracking ticket here for a different way: golang/go#17554

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

No branches or pull requests

1 participant