-
Notifications
You must be signed in to change notification settings - Fork 40
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(provider): avoid static IPs such as 1.1.1.1 #484
Conversation
b20e8ca
to
e1cb7b9
Compare
|
Some ISPs are still blocking 1.1.1.1, unfortunately. The new mechanism manually resolves the host `cloudflare-dns.com` as an IPv4 or IPv6 address, skipping the dual-stack switching in the Go standard library.
Codecov Report
@@ Coverage Diff @@
## main #484 +/- ##
==========================================
+ Coverage 87.84% 88.08% +0.24%
==========================================
Files 35 36 +1
Lines 2098 2166 +68
==========================================
+ Hits 1843 1908 +65
- Misses 247 249 +2
- Partials 8 9 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Some ISPs are still blocking 1.1.1.1, unfortunately. The new mechanism manually resolves the host
cloudflare-dns.com
as an IPv4 or IPv6 address, skipping the dual-stack switching in the Go standard library.