mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-07-23 06:03:39 -04:00
[PR #158] Public IP package to work over HTTPs and DNS #633
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/qdm12/ddns-updater/pull/158
State: closed
Merged: Yes
⚠️ Most added lines come from
go.sumwhich you can ignore since I added themiekg/dnspackage, required to resolve Chaos records for CloudflareHow to mock resolver???or just trust in the integration testAssign each IP method to the right IP version for http to avoid breaking changes and add comment to remove on next major version bump. Add an exported method to do so in the publicip/http package which returns what ipversions the provider supportsNo need, there are already separatedIP_METHODenvironment variables for each IP versionDocument cycling for HTTP fetcher is sequential and not random selectionNo one caresNext PR
PUBLICIP_METHODto selecthttp,dnsor both (indicate it will cycle between each at random uniformly distributed)IP_METHOD->PUBLICIP_HTTP_IP_PROVIDERwhile keeping retrocompatibilityPUBLICIP_DNS_IP_PROVIDER(valid for ip4or6, ip4 and ip6)And in another PR