Merge pull request #125 from ddclient/ipify
Add ipify ipv4 and ipv6 as ip getter
This commit is contained in:
commit
96516edf4c
1 changed files with 4 additions and 2 deletions
6
ddclient
6
ddclient
|
@ -71,8 +71,10 @@ sub T_POSTS { 'postscript' };
|
|||
|
||||
## strategies for obtaining an ip address.
|
||||
my %builtinweb = (
|
||||
'dyndns' => { 'url' => 'http://checkip.dyndns.org/', 'skip' => 'Current IP Address:', },
|
||||
'loopia' => { 'url' => 'http://dns.loopia.se/checkip/checkip.php', 'skip' => 'Current IP Address:', },
|
||||
'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', },
|
||||
);
|
||||
my %builtinfw = (
|
||||
|
|
Loading…
Reference in a new issue