Commit graph

1297 commits

Author SHA1 Message Date
Denton Liu
ab706ccae0 Fix sample Cloudflare config (#57)
The extra comma bleeds into the API request sent to Cloudflare and, as a
result, causes it to fail. Reordering the options and removing the comma
at the password fliield, fixes this problem.
2018-06-25 16:28:00 +02:00
wimpunk
ec2acfb1f3
Support IPv6 for CloudFlare
This makes the Cloudflare support IPv6-aware.

Ideally, A and AAAA records would be updated in one shot, as CloudFlare has a 5 minute throttling limit for API calls that change records.

Merge pull request #56 from d235j/cloudflare-ipv6
2018-05-23 12:25:05 +02:00
wimpunk
c176457e12
name cheap support https now
Merge pull request #55 from wjzhou/wzhou/namecheap-https
2018-05-23 12:21:24 +02:00
David Ryskalczyk
7e850b7560 Support IPv6 for CloudFlare 2018-05-20 19:24:12 -04:00
Wujun Zhou
1da21d82e1 name cheap support https now
From name cheap it seems http is supported now.
https://www.namecheap.com/support/knowledgebase/article.aspx/29/11/how-to-use-the-browser-to-dynamically-update-hosts-ip

Since the password was send on plaintext, https should be used
2018-05-17 02:37:54 -04:00
wimpunk
3dd2054124
Align ddclient behavior and documentation with namecheap's
Follow expected behavior.  Applying patch #54 from @jmdevince
2018-05-14 18:41:34 +02:00
jmdevince
4394c1914f
Follow expected behavior
Align ddclient behavior and documentation with namecheap's - https://www.namecheap.com/support/knowledgebase/article.aspx/583/11/how-do-i-configure-ddclient
2018-05-04 10:44:59 -05:00
wimpunk
94dc35984f Update version in README
Corrected version number as suggested by @abelbeck.
2017-02-15 21:49:25 +01:00
wimpunk
e33aa2fa96 Adding sample-get-ip-from-fritzbox
Example config showing how to retrieve IP from fritzbox via UPnP
using ddclients cmd option.  The script has been provided by @Rusk85
in pull request #45
2017-02-15 21:31:09 +01:00
Rusk85
40409911b3 script to retrieve IP from fritzbox via UPnP
Original author of this one-liner can be found here:
http://scytale.name/blog/2010/01/fritzbox-wan-ip
2017-02-15 21:26:57 +01:00
wimpunk
fbd62b7cce Use JSON::PP instead of the (deprecated) JSON::Any
As suggeseted in pull request #48 by @abelbeck, this commit replaces
the deprecated JSON::Any by JSON::PP.  This only influences cloudflare
users.
2017-02-15 21:06:56 +01:00
Lonnie Abelbeck
7321959383 cosmetic, remove stray space indent 2017-02-15 21:01:42 +01:00
Lonnie Abelbeck
fca9b2149b Use JSON::PP instead of the (deprecated) JSON::Any 2017-02-15 21:01:42 +01:00
wimpunk
47df8f45b4 Adding support for freemyip.com
Support provided by @Cadence-GitHub in by pull request #47
2017-02-13 21:21:13 +01:00
Tomasz Grabowski
d6359cb7e0 Adding required documentation and examples 2017-01-16 18:12:29 -05:00
Tomasz Grabowski
b3a234a70f Adding support for free dns service at freemyip.com 2017-01-16 18:03:26 -05:00
wimpunk
a9240d00f5 Merge pull request #46 from fcolista/master
sample-etc_rc.d_init.d_ddclient.alpine: openrc uses openrc-run now

Runscript is now absolute.  Pull request #46
2016-11-15 17:55:41 +01:00
Francesco Colista
a785948800 sample-etc_rc.d_init.d_ddclient.alpine: openrc uses openrc-run now, runscript is obsolete 2016-11-14 18:36:19 +00:00
wimpunk
a9ab60e7a1 Merge pull request #44 from esetnik/cloudflare_config
Cloudflare Config fix from #44.

Specifying the `server` directive caused the Cloudflare protocol to use the wrong url when communicating with Cloudflare API v4. It works if the directive is removed.
2016-09-08 15:38:40 +02:00
Ethan Setnik
abb6674d60
update sample config with functional cloudflare settings 2016-09-08 01:08:34 -04:00
wimpunk
df883fd091 Merge pull request #42 from Harry-Xue/master
Update CloudFlare from API v1 to API v4.

Patch provided by @Harry-Xue by pull-request #42
2016-05-25 08:47:27 +02:00
Harry-Xue
f52195700b Add files via upload
Catch up to changes in wimpunk/master.
2016-05-24 21:50:39 -07:00
Harry-Xue
6c951a0395 Add files via upload
Updated CloudFlare API from v1 to v4.
2016-05-24 21:18:08 -07:00
Harry-Xue
1d848de60c Merge pull request #1 from wimpunk/master
Catch up to wimpunk/ddclient
2016-05-24 21:07:01 -07:00
wimpunk
7cad3a497f Merge pull request #38 from MichaelHarder/fix-nsupdate-ipv6-record-type
fix nsupdate using wrong type for ipv6 addresses

nsupdate was failing because it was trying to set an A record with an ipv6 address. This will check for an ipv6 address and use the appropriate record type.
2016-02-11 21:07:06 +01:00
Michael Harder
62c6460784 fix nsupdate using wrong type for ipv6 addresses 2016-02-04 01:06:17 -08:00
wimpunk
747620cf66 Merge branch 'github' 2016-01-26 19:46:24 +01:00
wimpunk
68b9e346d1 Merge branch 'github' 2016-01-26 19:45:46 +01:00
wimpunk
1ec1b291ba Merge pull request #37 from beamerblvd/add-nsupdate-tcp-support
Add support for telling `nsupdate` to use TCP instead of UDP
By default, `nsupdate` uses UDP unless the update size is too large to fit in a UDP datagram, in which case it automatically switches to TCP. This change adds a `tcp` configuration option to the `nsupdate` protocol so that the user can force `nsupdate` to use TCP.
2016-01-26 19:34:44 +01:00
Nick Williams
375d075a3c Add support for telling nsupdate to use TCP instead of UDP
By default, `nsupdate` uses UDP unless the update size is too large to fit in a UDP datagram, in which case it automatically switches to TCP. This change adds a `tcp` configuration option to the `nsupdate` protocol so that the user can force `nsupdate` to use TCP.
2016-01-26 10:42:22 -06:00
wimpunk
35eefc3411 Merge pull request #36 from geraldhansen/master
Add ipv6 support by @geraldhansen
2016-01-25 21:46:51 +01:00
wimpunk
6b7942a139 README: fixing duckdns identation 2016-01-25 21:40:18 +01:00
Gerald Hansen
9ba67ab9f8 fix description for missing package 2016-01-19 10:37:08 +01:00
Gerald Hansen
3c2ef3e24c add ipv6 sample config for myonlineportal.net 2016-01-18 22:43:26 +01:00
Gerald Hansen
dc01f09224 add ipv6 support 2016-01-18 22:31:12 +01:00
Gerald Hansen
027fa03895 add ipv6 support for web option 2016-01-18 12:30:07 +01:00
wimpunk
eafb707437 Revert "Merge branch 'github'"
This reverts commit 38f9762e2c, reversing
changes made to 5bea1a58f7.
2015-12-04 11:54:18 +01:00
wimpunk
38f9762e2c Merge branch 'github'
Conflicts:
	README.md
	ddclient
2015-12-04 11:54:15 +01:00
wimpunk
bec4521ecd Merge branch 'hank-freedns-fix' into github
Fixed the last part of pull request #31 from @hank.
Cleaned up the code on FreeDNS.
2015-12-03 21:39:29 +01:00
wimpunk
5abb9fe1fe Fixing warnings on FreeDNS update NOP
Fix based on pull request #31 on github commited by @hank.
_original comments_
When FreeDNS was updating, I was noticing that it would send back an HTTP 200
with the text "Address [IP] has not changed", but ddclient was issuing a
failed status for this and logging a ton of text to syslog. I changed the
function a tiny bit to allow this to be a success status. I also reformatted
the code to all spaces instead of mixed spaces and tabs, but you can take that
or leave it - I don't really care, it was just a total whitespace disaster
before.
2015-12-03 21:27:41 +01:00
wimpunk
4f7fb1b3aa README: update version number.
This change was suggested in pull request #31 on github by @hank.
2015-12-03 21:18:13 +01:00
Erik Gregg
a2815d5081 Minor change to cache ip on freedns no-change 2015-11-29 14:13:20 -05:00
Erik Gregg
b478bf1a85 Don't issue warnings when freedns IP didn't change
Before this update, freedns warnings would appear in the log even though
FreeDNS sent back a code 200 with a message indicating the IP address was
already correct.  A simple regex change was all that was needed to make this a
success instead.  Now, it looks like this:

DEBUG:    server = freedns.afraid.org
SUCCESS:  updating xxx.xxx.xxx good: IP address has not changed

Conflicts:
	ddclient
2015-11-29 14:09:25 -05:00
wimpunk
5bea1a58f7 Merge pull request #25 from dancapper/master
Adding configurable TTL to Cloudflare

This change adds configurable TTL to cloudflare instead of just using hardcoded value of 1 which sets "automatic" TTL any time ddclient updates the IP address.

git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@195 3873ddee-7413-0410-b6c4-c2c57c1ab35a
2015-10-13 20:26:00 +00:00
wimpunk
017f04b500 Merge pull request #24 from gkranis/master
Adding duckdns example

Duckdns example added to sample-etc_ddclient.conf

git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@194 3873ddee-7413-0410-b6c4-c2c57c1ab35a
2015-10-13 20:25:53 +00:00
wimpunk
80046c5a23 Prevent service to start multiple times.
Added messages if trying to start/stop already started/stopped service.
Added daemon install instructions for ubuntu.

git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@193 3873ddee-7413-0410-b6c4-c2c57c1ab35a
2015-10-13 20:25:45 +00:00
wimpunk
3d996f0878 odd-fw-patch-squashed
git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@192 3873ddee-7413-0410-b6c4-c2c57c1ab35a
2015-10-13 20:12:21 +00:00
wimpunk
19d517284c Added support for woima.fi dyndns service
git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@191 3873ddee-7413-0410-b6c4-c2c57c1ab35a
2015-10-13 20:10:15 +00:00
wimpunk
a2ea922aa3 Merge pull request #11 from Tatsuya-Nonogaki/master
This is the squashed commits of former odd-fw-patch and its addition, which will add functions to;

* un-zeropad IP address returned by some odd routers,
* make $ip UNDEF if get_ip('fw') returned a local IP address.
2015-09-30 21:55:24 +02:00
wimpunk
d197e10556 Merge pull request #24 from gkranis/master
Adding duckdns example

Duckdns example added to sample-etc_ddclient.conf
2015-09-30 21:47:47 +02:00