Commit graph

1001 commits

Author SHA1 Message Date
Richard Hansen
d10601de11 Delete redundant $opt{'daemon'} processing
The stuff done in this deleted block is already done in `check_value`.
2020-05-28 11:19:13 -04:00
Sandro
f425cea2d1
Merge pull request #128 from rhansen/ddclientd
Improve default daemonization when run as ddclientd
2020-05-28 05:00:33 +02:00
Sandro
dc81105781
Merge pull request #126 from rhansen/quote-here-doc 2020-05-28 04:52:08 +02:00
Sandro
31993eeb3b
Merge pull request #132 from rhansen/delete-commented-code 2020-05-28 02:22:59 +02:00
Richard Hansen
fcdaf7c3da Delete commented-out code
If it still had value it wouldn't be commented out.
2020-05-27 12:59:50 -04:00
Richard Hansen
e27d6af755 Quote the here-doc delimiter
The quoting might not be required for Perl, but without it Emacs's
syntax highlighting gets very confused.
2020-05-26 22:04:02 -04:00
Richard Hansen
b78144f7d5 Improve default daemonization when run as ddclientd
The output of -help now shows that daemonization is enabled by default
when the command is named something that ends with 'd' (such as
ddclientd).
2020-05-26 21:43:50 -04:00
Sandro Jäckel
4f0226ef05
Fix formatting especially with code examples, apply linter suggestions 2020-05-27 03:27:03 +02:00
Sandro Jäckel
42c21391f3
Update install instructions
Closes #144
2020-05-27 03:18:18 +02:00
Sandro
b6b9878315
Merge pull request #120 from rhansen/whitespace-fixes 2020-05-27 02:32:58 +02:00
Sandro
ee3c90c85f
Merge branch 'master' into whitespace-fixes 2020-05-27 02:32:32 +02:00
Sandro
bc23fd809c
Merge pull request #104 from psiegl/duckdns 2020-05-27 02:29:55 +02:00
Sandro
448e5c22c9
Change password 2020-05-27 02:29:26 +02:00
Richard Hansen
280818b384 Whitespace fixes
* Convert tabs to spaces
  * Use consistent indentation
  * Use consistent vertical alignment
2020-05-26 15:16:51 -04:00
wimpunk
233f1919dd
Removing dnspark (#105)
Removing dnspark as the service doesn't exist anymore.
2020-05-26 20:53:37 +02:00
Sandro Jäckel
3d1ed60812
Merge remote-tracking branch 'rhansen/process_args' (#121) 2020-05-26 20:52:29 +02:00
Sandro Jäckel
ac45f98bcd
Merge remote-tracking branch 'rhansen/sig' (#117) 2020-05-26 20:52:08 +02:00
Sandro Jäckel
ba488414f1
Merge remote-tracking branch 'rhansen/shebang' (#116) 2020-05-26 20:50:43 +02:00
Richard Hansen
b1cc82f2fa Replace Perl -w flag with use warnings;
Also delete the useless 2nd shebang line and bump the required Perl
version.

Now the shebang line conforms with Debian policy 4.1.2 to 4.2.0. See:
https://www.debian.org/doc/debian-policy/upgrading-checklist.html#version-4-1-2

Perl v5.8.0 (released in 2002) was chosen because:
  * `use warnings` was added in Perl v5.6.0 (released 2000)
  * The `require` function itself changed in v5.8.0 to support the
    more readable non-numeric version literal syntax.
2020-05-26 12:10:14 -04:00
Richard Hansen
5211cb55c8 Clean up process_args
* Delete unused variable `%opts`
  * Ensure that `%opt` exists before it is referenced in `process_args`
  * Don't bother returning a copy of `%opt`
2020-05-25 22:43:55 -04:00
Richard Hansen
f47ea295d5 Gracefully exit if interrupted by SIGINT 2020-05-24 21:56:07 -04:00
Richard Hansen
fb67669902 Don't attempt to catch the uncatchable SIGKILL signal 2020-05-24 21:51:26 -04:00
jameskupke
7a9991966b
Updated Namecheap example (#115) 2020-05-10 23:13:08 +02:00
Greg Best
18cc3a99e9
Added support for cloudflare API tokens. (#102)
* Added support for cloudflare API tokens. Do not provide a login if using one. The token must have permissions for All zones - Zone:Read, DNS:Edit.

* Fixed the grammar in the comments.

Co-authored-by: Greg Best <greg@NinjaCatServer>
2020-04-06 20:46:50 +02:00
samwell61
45ae9913f9
Fixed cloudflare cache not updating properly (#98)
Don't use the key for the cache but use the domain.

Co-authored-by: Samuel Bailey <samuel@bingbong.tech>
2020-04-06 20:44:33 +02:00
Patrick Siegl
56d819f4c4 DuckDNS uses https over http 2020-03-04 17:37:33 +01:00
wimpunk
89c2230ada Preparing the release of v3.9.1 2020-01-08 10:56:03 +01:00
wim vinckier
557f822749 README: removed a few sf.net links
We're starting to migrate the website to ddclient.net and the project is
now mostly managed on github so there's no need to mention the old
links.
2019-10-17 21:33:01 +02:00
Dave Smith
e19e1df555
Set $name before trying to adjust it 2019-10-05 20:52:33 -05:00
Dave Smith
321ca60d04
Merge branch 'nfsn-wip' of github.com:Frogging101/ddclient into merge_Frogging101 2019-09-26 20:27:54 -05:00
Dave Smith
9179655803
Fix 74 Use JSON:PP in Yandex 2019-09-21 20:59:27 -05:00
Dave Smith
9d2cdb9fb2
Merge branch 'master' of github.com:ddclient/ddclient 2019-09-12 10:25:59 -05:00
Dave Smith
01cf5bdd2d
Merge branch 'master' of github.com:okeeblow/ddclient 2019-09-12 09:55:51 -05:00
DaveSophoServices
0871aa0360
Merge pull request #65 from SuperSandro2000/SuperSandro2000-patch-1
Add perl modules to install instructions
2019-09-12 09:44:06 -05:00
DaveSophoServices
3b37d3c78d
Merge branch 'master' into SuperSandro2000-patch-1 2019-09-12 09:43:51 -05:00
DaveSophoServices
b41c0d0a16
Merge pull request #66 from kbumsik/master
Add systemd sample and instruction
2019-09-12 09:38:48 -05:00
Dave Smith
c473b904bd
Merge branch 'master' of github.com:madmalkav/ddclient
plus formatting
2019-09-03 20:38:07 -05:00
Dave Smith
b998b3b663 Merge branch 'patch-1' of github.com:SuperSandro2000/ddclient 2019-09-03 20:11:17 -05:00
DaveSophoServices
6c59584352
Merge pull request #69 from AlJohri/update-readme
update readme, document Data::Validate::IP
2019-09-03 19:59:43 -05:00
Dave Smith
8a4c93f592 Stop putting a Content-Type into the request, if one is already present 2019-08-29 09:38:10 -05:00
Dave Smith
0ca0d462ac
Merge branch 'master' of github.com:Akimkin/ddclient 2019-08-22 15:26:41 -05:00
fabianskibr
27b42691b0
add nsupdate.info config samples 2019-08-03 14:57:27 -03:00
Al
4467c63527 update readme, document Data::Validate::IP 2019-06-25 14:16:37 -04:00
Ian Colwell
e910af8bac Restore ability to update multiple namecheap domains (#64)
* Revert to previous functionality
* Revert example config
* Remove redundant commas
* Update example conf
* Revert whitespace formatting
2019-06-06 13:37:51 +02:00
root
30dce80ad0 Add support for dondominio.com 2019-04-06 17:27:22 +02:00
Sandro Jäckel
d90d6799d3
Fix fritz box example for newer routers 2019-04-06 13:14:47 +02:00
Bumsik Kim
3feaf02ebb Add systemd sample and instruction 2019-03-20 12:29:47 +00:00
Sandro Jäckel
1910fb361c
Add perl modules to install instructions 2019-03-19 00:21:53 +01:00
okeeblow
c771d3f81f
Fix errant tabs in nic_dnsmadeeasy_update 2018-10-18 05:07:26 -07:00
Allison Reid
2f7e8ee236 Add support for DNS Made Easy (https://dnsmadeeasy.com)
UPDATE:   Updating 77282436
  DEBUG:    proxy  =
  DEBUG:    url    = https://cp.dnsmadeeasy.com/servlet/updateip?username=xxx@xxx.org&password=xxxxxx&ip=192.168.43.239&id=77282436
  DEBUG:    server = cp.dnsmadeeasy.com
  CONNECT:  cp.dnsmadeeasy.com
  CONNECTED:  using SSL
  SENDING:  GET /servlet/updateip?username=xxx@xxx.org&password=xxxxxxx&ip=192.168.43.239&id=77282436 HTTP/1.0
  SENDING:   Host: cp.dnsmadeeasy.com
  SENDING:   User-Agent: ddclient/3.9.0
  SENDING:   Connection: close
  SENDING:
  SENDING:
  RECEIVE:  HTTP/1.1 200 OK
  RECEIVE:  Server: Apache-Coyote/1.1
  RECEIVE:  Pragma: No-cache
  RECEIVE:  Cache-Control: no-cache
  RECEIVE:  Expires: Thu, 01 Jan 1970 00:00:00 UTC
  RECEIVE:  x-dnsme-requestId: 496b9516-44da-48fc-b750-256f191848f5
  RECEIVE:  Set-Cookie: JSESSIONID=17103D9DF72BB33118DD2177BD8813A0; Path=/; Secure; HttpOnly
  RECEIVE:  Content-Type: text/plain
  RECEIVE:  Date: Thu, 18 Oct 2018 11:41:45 GMT
  RECEIVE:  Connection: close
  RECEIVE:
  RECEIVE:  success
  SUCCESS:  Updating 77282436: good: IP address set to 192.168.43.239
2018-10-18 04:53:21 -07:00