From deab8970a19f8f9ae32fe5f18300a8a317f5dcd7 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sat, 1 Aug 2020 18:09:58 -0400 Subject: [PATCH 01/11] Whitespace fixes --- ddclient.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ddclient.in b/ddclient.in index a78677c..bb2e3f8 100755 --- a/ddclient.in +++ b/ddclient.in @@ -96,11 +96,11 @@ 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', }, + '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 = ( '2wire' => { From f3a92fbe6348e3ea8a602b6dcb470bcaf1868cb5 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sat, 1 Aug 2020 18:10:16 -0400 Subject: [PATCH 02/11] Delete trailing commas --- ddclient.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ddclient.in b/ddclient.in index bb2e3f8..00d6204 100755 --- a/ddclient.in +++ b/ddclient.in @@ -96,11 +96,11 @@ 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',}, + '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 = ( '2wire' => { From 52abb276042cc31260e8e3454f39d70220ee443c Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sun, 2 Aug 2020 01:45:00 -0400 Subject: [PATCH 03/11] Mention new `%builtinweb` services in `ChangeLog.md` --- ChangeLog.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index 0d53025..40a0119 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -20,6 +20,9 @@ repository history](https://github.com/ddclient/ddclient/commits/master). addresses. * New `ssl_ca_dir` and `ssl_ca_file` options to specify the location of CA certificates. + * New built-in IP discovery service shorthands: + - `ipifyipv4` and `ipifyipv6` from https://www.ipify.org + - `myonlineportal` from https://myonlineportal.net * New built-in shorthands for obtaining the IP address from the following devices ([thanks to Geoff Simmons](https://bugs.debian.org/589980)): - `alcatel-530`: Alcatel/Thomson SpeedTouch 530 From 295ba387aa8a1bbba7267ed64217fa0a5c440a2a Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sun, 2 Aug 2020 01:31:40 -0400 Subject: [PATCH 04/11] Rename `ipifyipv{4,6}` to `ipify-ipv{4,6}` The added dash makes it easier to read. --- ChangeLog.md | 2 +- ddclient.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 40a0119..e8b9317 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -21,7 +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: - - `ipifyipv4` and `ipifyipv6` from https://www.ipify.org + - `ipify-ipv4` and `ipify-ipv6` from https://www.ipify.org - `myonlineportal` from https://myonlineportal.net * New built-in shorthands for obtaining the IP address from the following devices ([thanks to Geoff Simmons](https://bugs.debian.org/589980)): diff --git a/ddclient.in b/ddclient.in index 00d6204..a0acca3 100755 --- a/ddclient.in +++ b/ddclient.in @@ -97,8 +97,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/'}, + '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'}, ); From ad81aa43d23ca23d37eeedd342c80999f3f36ffa Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sat, 1 Aug 2020 18:10:41 -0400 Subject: [PATCH 05/11] New `%builtinweb` entries for noip.com --- ChangeLog.md | 1 + ddclient.in | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index e8b9317..3837f62 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -23,6 +23,7 @@ repository history](https://github.com/ddclient/ddclient/commits/master). * New built-in IP discovery service shorthands: - `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 * New built-in shorthands for obtaining the IP address from the following devices ([thanks to Geoff Simmons](https://bugs.debian.org/589980)): - `alcatel-530`: Alcatel/Thomson SpeedTouch 530 diff --git a/ddclient.in b/ddclient.in index a0acca3..2b1baa4 100755 --- a/ddclient.in +++ b/ddclient.in @@ -101,6 +101,8 @@ my %builtinweb = ( '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/'}, ); my %builtinfw = ( '2wire' => { From 1a8bfafb3de794d62f67265212e2b0eba482183b Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sat, 1 Aug 2020 18:12:43 -0400 Subject: [PATCH 06/11] New `%builtinweb` entry for Google Domains --- ChangeLog.md | 1 + ddclient.in | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index 3837f62..ee181dc 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -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 diff --git a/ddclient.in b/ddclient.in index 2b1baa4..88d1bbb 100755 --- a/ddclient.in +++ b/ddclient.in @@ -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:'}, From 460cf2f46576a1fb2836ec86c218469749c7e3c5 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sat, 1 Aug 2020 18:28:39 -0400 Subject: [PATCH 07/11] New `%builtinweb` entry for FreeDNS --- ddclient.in | 1 + 1 file changed, 1 insertion(+) diff --git a/ddclient.in b/ddclient.in index 88d1bbb..96e33c9 100755 --- a/ddclient.in +++ b/ddclient.in @@ -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:'}, + 'freedns' => {'url' => 'https://freedns.afraid.org/dynamic/check.php'}, 'googledomains' => {'url' => 'https://domains.google.com/checkip'}, 'ipify-ipv4' => {'url' => 'https://api.ipify.org/'}, 'ipify-ipv6' => {'url' => 'https://api6.ipify.org/'}, From fb42a503186393dbeb6eeec86b2d57a8162437e7 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sun, 2 Aug 2020 02:04:28 -0400 Subject: [PATCH 08/11] New `%builtinweb` entry for ZoneEdit --- ChangeLog.md | 1 + ddclient.in | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index ee181dc..a7a31b9 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -25,6 +25,7 @@ repository history](https://github.com/ddclient/ddclient/commits/master). - `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 + - `zoneedit` from https://www.zoneedit.com * New built-in shorthands for obtaining the IP address from the following devices ([thanks to Geoff Simmons](https://bugs.debian.org/589980)): - `alcatel-530`: Alcatel/Thomson SpeedTouch 530 diff --git a/ddclient.in b/ddclient.in index 96e33c9..9281530 100755 --- a/ddclient.in +++ b/ddclient.in @@ -105,6 +105,7 @@ my %builtinweb = ( 'myonlineportal' => {'url' => 'https://myonlineportal.net/checkip'}, 'noip-ipv4' => {'url' => 'http://ip1.dynupdate.no-ip.com/'}, 'noip-ipv6' => {'url' => 'http://ip1.dynupdate6.no-ip.com/'}, + 'zoneedit' => {'url' => 'http://dynamic.zoneedit.com/checkip.html'}, ); my %builtinfw = ( '2wire' => { From ae89dbdfa36a4b5cb432855ae74525ed49a0244e Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Tue, 4 Aug 2020 13:47:14 -0400 Subject: [PATCH 09/11] New `%builtinweb` entry for Hurricane Electric --- ChangeLog.md | 1 + ddclient.in | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index a7a31b9..a5b1262 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -22,6 +22,7 @@ repository history](https://github.com/ddclient/ddclient/commits/master). certificates. * New built-in IP discovery service shorthands: - `googledomains` from https://domains.google + - `he` from https://he.net - `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 diff --git a/ddclient.in b/ddclient.in index 9281530..f1fab14 100755 --- a/ddclient.in +++ b/ddclient.in @@ -99,6 +99,7 @@ my %builtinweb = ( 'dyndns' => {'url' => 'http://checkip.dyndns.org/', 'skip' => 'Current IP Address:'}, 'freedns' => {'url' => 'https://freedns.afraid.org/dynamic/check.php'}, 'googledomains' => {'url' => 'https://domains.google.com/checkip'}, + 'he' => {'url' => 'http://checkip.dns.he.net/'}, '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:'}, From c9b6c8b3bfb8a7e2e723f68e5d056ea4add78a0b Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Tue, 4 Aug 2020 13:48:57 -0400 Subject: [PATCH 10/11] New `%builtinweb` entries for whatismyv6.com --- ChangeLog.md | 1 + ddclient.in | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index a5b1262..e5452fe 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -23,6 +23,7 @@ repository history](https://github.com/ddclient/ddclient/commits/master). * 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 diff --git a/ddclient.in b/ddclient.in index f1fab14..5a21178 100755 --- a/ddclient.in +++ b/ddclient.in @@ -100,6 +100,8 @@ my %builtinweb = ( 'freedns' => {'url' => 'https://freedns.afraid.org/dynamic/check.php'}, 'googledomains' => {'url' => 'https://domains.google.com/checkip'}, 'he' => {'url' => 'http://checkip.dns.he.net/'}, + '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:'}, From 2de6a02f14f041e611090b7de3468c1586f17acc Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Tue, 4 Aug 2020 13:49:34 -0400 Subject: [PATCH 11/11] New `%builtinweb` entries for nsupdate.info --- ChangeLog.md | 2 ++ ddclient.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index e5452fe..dc98bab 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -27,6 +27,8 @@ repository history](https://github.com/ddclient/ddclient/commits/master). - `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 devices ([thanks to Geoff Simmons](https://bugs.debian.org/589980)): diff --git a/ddclient.in b/ddclient.in index 5a21178..b6db09c 100755 --- a/ddclient.in +++ b/ddclient.in @@ -108,6 +108,8 @@ my %builtinweb = ( '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 = (