From efc62a3d41d391016e7fbc13ecb304abb3c36ad6 Mon Sep 17 00:00:00 2001 From: wimpunk Date: Sun, 28 Apr 2013 14:55:34 +0000 Subject: [PATCH] Adding support for ChangeIP based on the patch from Michele Giorato http://sourceforge.net/p/ddclient/discussion/399428/thread/e85661ad/ git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@150 3873ddee-7413-0410-b6c4-c2c57c1ab35a --- README.md | 1 + ddclient | 82 ++++++++++++++++++++++++++++++++++++++++ sample-etc_ddclient.conf | 10 +++++ 3 files changed, 93 insertions(+) diff --git a/README.md b/README.md index 19a63ec..04ca6ec 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ Dynamic DNS services currently supported include: Loopia - See http://www.loopia.se for details Noip - See http://www.noip.com/ for details Freedns - See http://freedns.afraid.org/ for details + ChangeIP - See http://www.changeip.com/ for details dtdns - See http://www.dtdns.com/ for details DDclient now supports many of cable/dsl broadband routers. diff --git a/ddclient b/ddclient index c3576f1..9eec957 100755 --- a/ddclient +++ b/ddclient @@ -554,6 +554,16 @@ my %services = ( $variables{'service-common-defaults'}, ), }, + 'changeip' => { + 'updateable' => undef, + 'update' => \&nic_changeip_update, + 'examples' => \&nic_changeip_examples, + 'variables' => merge( + { 'server' => setv(T_FQDNP, 1, 0, 1, 'nic.changeip.com', undef) }, + { 'min-interval' => setv(T_DELAY, 0, 0, 1, 0, interval('5m')),}, + $variables{'service-common-defaults'}, + ), + }, 'dtdns' => { 'updateable' => undef, 'update' => \&nic_dtdns_update, @@ -3588,7 +3598,79 @@ sub nic_freedns_update { } } +###################################################################### +## nic_changeip_examples +###################################################################### +sub nic_changeip_examples { +return <