mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
ddclient plugin: Added cloudflare to checkip providers (#4167)
* ddclient plugin: Added cloudflare to checkip providers * Use one.one.one.one instead of 1.1.1.1 to prevent IP address before client IP in response.
This commit is contained in:
@@ -139,6 +139,7 @@
|
||||
<Default>web_dyndns</Default>
|
||||
<ValidationMessage>An IP service type is required.</ValidationMessage>
|
||||
<OptionValues>
|
||||
<web_dyndns>cloudflare</web_dyndns>
|
||||
<web_dyndns>dyndns</web_dyndns>
|
||||
<web_freedns>freedns</web_freedns>
|
||||
<web_googledomains>googledomains</web_googledomains>
|
||||
|
||||
@@ -29,6 +29,7 @@ import ipaddress
|
||||
|
||||
|
||||
checkip_service_list = {
|
||||
'cloudflare': '%s://one.one.one.one/cdn-cgi/trace',
|
||||
'dyndns': '%s://checkip.dyndns.org/',
|
||||
'freedns': '%s://freedns.afraid.org/dynamic/check.php',
|
||||
'googledomains': '%s://domains.google.com/checkip',
|
||||
|
||||
Reference in New Issue
Block a user