Merge pull request #125 from ddclient/ipify

Add ipify ipv4 and ipv6 as ip getter
This commit is contained in:
Sandro 2020-05-29 10:41:45 +02:00 committed by GitHub
commit 96516edf4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,6 +72,8 @@ sub T_POSTS { 'postscript' };
## strategies for obtaining an ip address.
my %builtinweb = (
'dyndns' => { 'url' => 'http://checkip.dyndns.org/', 'skip' => 'Current IP Address:', },
'ipifyipv4' => { 'url' => 'https://api.ipify.org/', },
'ipifyipv6' => { 'url' => 'https://api6.ipify.org/', },
'loopia' => { 'url' => 'http://dns.loopia.se/checkip/checkip.php', 'skip' => 'Current IP Address:', },
'myonlineportal' => { 'url' => 'https://myonlineportal.net/checkip', },
);