From 3f8ff1f7dd10961ba5d553e6acc25803e48af877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 27 May 2020 03:42:36 +0200 Subject: [PATCH] Add ipify ipv4 and ipv6 as ip getter --- ddclient | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ddclient b/ddclient index 1273734..81d71a4 100755 --- a/ddclient +++ b/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 = (