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.
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
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
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
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.
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.
Prevent service to start multiple times
Added messages if trying to start/stop already started/stopped service.
Added daemon install instructions for ubuntu.
Removing revision info even when it's just in the comments.
git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@190 3873ddee-7413-0410-b6c4-c2c57c1ab35a
Removing revision info even when it's just in the comments.
git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@190 3873ddee-7413-0410-b6c4-c2c57c1ab35a
Since we are not going to fetch the changes from svn anymore,
we add the old ChangeLog again.
git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@189 3873ddee-7413-0410-b6c4-c2c57c1ab35a
Switching to git so we don't need .cvsignore anymore
git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@188 3873ddee-7413-0410-b6c4-c2c57c1ab35a
Preparing a complete move to git. The Id tag isn't useful so removing from
the files seemed to be the best solotion
git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@186 3873ddee-7413-0410-b6c4-c2c57c1ab35a
Preparing a complete move to git. The Id tag isn't useful so removing from
the files seemed to be the best solotion
git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@186 3873ddee-7413-0410-b6c4-c2c57c1ab35a
The new requirements were added when adding support for cloudflare. By the
simple fix suggested by Roy Tam we could revert the requirements which make
ddclient back usable on CentOS and RHEL.
The new requirements were added when adding support for cloudflare. By the
simple fix suggested by Roy Tam we could revert the requirements which make
ddclient back usable on CentOS and RHEL.
git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@182 3873ddee-7413-0410-b6c4-c2c57c1ab35a
As suggested in pull 7 on github by @abelbeck and @Bugsbane it is better to make the
use of JSON related to the use of cloudflare.
git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@181 3873ddee-7413-0410-b6c4-c2c57c1ab35a