New %builtinweb entry for Google Domains

This commit is contained in:
Richard Hansen 2020-08-01 18:12:43 -04:00
parent ad81aa43d2
commit 1a8bfafb3d
2 changed files with 2 additions and 0 deletions

View file

@ -21,6 +21,7 @@ repository history](https://github.com/ddclient/ddclient/commits/master).
* New `ssl_ca_dir` and `ssl_ca_file` options to specify the location of CA
certificates.
* New built-in IP discovery service shorthands:
- `googledomains` from https://domains.google
- `ipify-ipv4` and `ipify-ipv6` from https://www.ipify.org
- `myonlineportal` from https://myonlineportal.net
- `noip-ipv4` and `noip-ipv6` from https://www.noip.com

View file

@ -97,6 +97,7 @@ sub T_POSTS { 'postscript' }
## strategies for obtaining an ip address.
my %builtinweb = (
'dyndns' => {'url' => 'http://checkip.dyndns.org/', 'skip' => 'Current IP Address:'},
'googledomains' => {'url' => 'https://domains.google.com/checkip'},
'ipify-ipv4' => {'url' => 'https://api.ipify.org/'},
'ipify-ipv6' => {'url' => 'https://api6.ipify.org/'},
'loopia' => {'url' => 'http://dns.loopia.se/checkip/checkip.php', 'skip' => 'Current IP Address:'},