Merge pull request #265 from rhansen/builtinweb

Add additional builtinweb entries
This commit is contained in:
Richard Hansen 2020-08-05 18:52:29 -04:00 committed by GitHub
commit 3730ff54be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 5 deletions

View file

@ -20,6 +20,16 @@ repository history](https://github.com/ddclient/ddclient/commits/master).
addresses. addresses.
* New `ssl_ca_dir` and `ssl_ca_file` options to specify the location of CA * New `ssl_ca_dir` and `ssl_ca_file` options to specify the location of CA
certificates. certificates.
* New built-in IP discovery service shorthands:
- `googledomains` from https://domains.google
- `he` from https://he.net
- `ip4only.me`, `ip6only.me` from http://whatismyv6.com
- `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
- `nsupdate.info-ipv4` and `nsupdate.info-ipv6` from
https://www.nsupdate.info
- `zoneedit` from https://www.zoneedit.com
* New built-in shorthands for obtaining the IP address from the following * New built-in shorthands for obtaining the IP address from the following
devices ([thanks to Geoff Simmons](https://bugs.debian.org/589980)): devices ([thanks to Geoff Simmons](https://bugs.debian.org/589980)):
- `alcatel-530`: Alcatel/Thomson SpeedTouch 530 - `alcatel-530`: Alcatel/Thomson SpeedTouch 530

View file

@ -96,11 +96,21 @@ sub T_POSTS { 'postscript' }
## strategies for obtaining an ip address. ## strategies for obtaining an ip address.
my %builtinweb = ( my %builtinweb = (
'dyndns' => { 'url' => 'http://checkip.dyndns.org/', 'skip' => 'Current IP Address:', }, 'dyndns' => {'url' => 'http://checkip.dyndns.org/', 'skip' => 'Current IP Address:'},
'ipifyipv4' => { 'url' => 'https://api.ipify.org/', }, 'freedns' => {'url' => 'https://freedns.afraid.org/dynamic/check.php'},
'ipifyipv6' => { 'url' => 'https://api6.ipify.org/', }, 'googledomains' => {'url' => 'https://domains.google.com/checkip'},
'loopia' => { 'url' => 'http://dns.loopia.se/checkip/checkip.php', 'skip' => 'Current IP Address:', }, 'he' => {'url' => 'http://checkip.dns.he.net/'},
'myonlineportal' => { 'url' => 'https://myonlineportal.net/checkip', }, 'ip4only.me' => {'url' => 'http://ip4only.me/api/'},
'ip6only.me' => {'url' => 'http://ip6only.me/api/'},
'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:'},
'myonlineportal' => {'url' => 'https://myonlineportal.net/checkip'},
'noip-ipv4' => {'url' => 'http://ip1.dynupdate.no-ip.com/'},
'noip-ipv6' => {'url' => 'http://ip1.dynupdate6.no-ip.com/'},
'nsupdate.info-ipv4' => {'url' => 'http://ipv4.nsupdate.info/myip'},
'nsupdate.info-ipv6' => {'url' => 'http://ipv6.nsupdate.info/myip'},
'zoneedit' => {'url' => 'http://dynamic.zoneedit.com/checkip.html'},
); );
my %builtinfw = ( my %builtinfw = (
'2wire' => { '2wire' => {