Commit graph

166 commits

Author SHA1 Message Date
Joel Beckmeyer
c382af56a5 don't print erroneous IP version 2023-11-25 13:07:08 +01:00
Lenard Hess
baa7e440ed Updated version number for v3.11.3_0 development 2023-11-23 13:08:07 +01:00
Lenard Hess
4a1b06630b Updated version number for v3.11.2 release 2023-11-23 13:06:21 +01:00
Lenard Hess
5d022b0520 Fixed caching for new providers with legacy 'use' parameter
When the configuration used the legacy 'use' parameter, we already
populated the new internal 'wantipv*' field alongside the legacy
'wantip' field. This allows both old and new providers to work.

The legacy providers set 'status'/'ip'.
The new providers then set 'status-ipv*'/'ipv*'.

The caching logic would look for 'status' and 'ip' when encountering a
'use' parameter in the config. We previously already changed ddclient to
set 'status' when 'status-ipv*' was set. Now we also set 'ip' from
'ipv*'. This ensures caching correctly works.
2023-11-23 13:00:06 +01:00
Indrajit Raychaudhuri
3a224b66a4 duckdns: Adjust script to support simultaneous IPv4 and IPv6 updates 2023-11-02 19:34:45 -05:00
Lenard Hess
23bfa31ea5 Updated version number for v3.11.2_0 development 2023-10-25 21:25:43 +02:00
Lenard Hess
66af014aad Updated version number for v3.11.1 release 2023-10-25 21:22:47 +02:00
Lenard Hess
456fe79c2d Removed @PACKAGE_VERSION@ placeholder from ddclient for now.
This reverts the changes from 36744e5. This will be reimplemented once
the build process is better documented and properly implemented
by any downstream not yet using it (as of now linuxserver.io).

See https://github.com/linuxserver/docker-ddclient/issues/77
2023-10-25 21:19:18 +02:00
Joel Beckmeyer
2d7610b7de porkbun: rework logic to allow for simultaneous update of IPv4 and IPv6 2023-10-21 17:52:35 -04:00
jortkoopmans
9913e0ec29 DNSExit update for ipv6.
- Support wantipv4 and wantipv6 configs automatically
- Remove manual record type setting
- Add support for hosts on your zone (subdomain)
- Update config examples
- Code/logic improvements
2023-10-21 20:36:48 +01:00
Reuben Thomas
ef496d108f Revert URLs to canonical repo 2023-07-19 22:27:44 +03:00
Lenard Hess
1715bd3a17 Fixed hosts trying to update if IP acquisition failed 2023-07-19 17:11:45 +03:00
Lenard Hess
7869acb266 easydns, porkbun: Set status-ipv4 and status-ipv6 instead of status
This fixes caching issues when using the 'usev4' or 'usev6' parameters.
Without this, the "min-interval" and "warned-min-interval" limits will
not work.

For the legacy 'use' parameter, the wrapping code takes care of
translating 'status-ipv*' to 'status'.
2023-07-19 17:11:45 +03:00
Lenard Hess
17fd6ec083 Added preliminary explanation for provider functions 2023-07-19 17:11:45 +03:00
Lenard Hess
6c1f9632fa Fixed caching behaviour for new providers with legacy 'use' logic 2023-07-19 17:11:45 +03:00
Reuben Thomas
541e7f350c Update error message to reflect that curl is always used 2023-07-19 17:11:45 +03:00
Lenard Hess
379b1832de ddclient.in: Update Maintainers 2023-07-19 17:11:45 +03:00
Reuben Thomas
b8bed7112f Remove defunct dnsexit protocol 2023-07-19 17:11:45 +03:00
Reuben Thomas
a9c1e545fb Require curl
Use command-line curl, and remove alternative Perl and Curl-via-Perl
implementations of network code.
2023-07-19 17:11:45 +03:00
Reuben Thomas
211404b5d1 ddclient.in: update maintainer details 2023-07-19 17:11:45 +03:00
Lenard Hess
52b5eea6f4 Implemented _env suffix for configuration
With this change, any config value may be set through an environment
variable by appending '_env' to the keyword (i.e. 'password_env' instead
of 'password') and setting the value to the name of the environment
variable that contains the actual configuration value.

This allows keeping sensitive info (i.e. login and password)
out of the configuration file.

Example configuration snippet:
	protocol=namecheap,                       \
	server=dynamicdns.park-your-domain.com,   \
	login_env=DD_LOGIN,                       \
	password_env=DD_PASSWORD                  \
	@
With this configuration snippet, ddclient will use the contents of
DD_LOGIN as the login value and the contents of DD_PASSWORD as the
password value.
These can in turn be supplied via the command line, .env files or any
other mechanism to safeguard sensitive information.
2023-07-19 17:11:45 +03:00
Lenard Hess
2af841acdb Changed password config regex
The password regex searches for password assignments, extracts the
password and replaces it with a dummy value to prevent it being logged.

This change adjusts the password regex to no longer accept trailing
characters behind the password string
2023-07-19 17:11:45 +03:00
jortkoopmans
ec4d83bc3f Add support for new DNSExit API (adding protocol dnsexit2). 2023-07-19 17:11:45 +03:00
Sandro
2536a5e37a
Merge pull request #480 from michal-josef-spacek/fix_inet6
Rewrite deprecated use of IO::Socket::INET6 to new solution with IO::Socket::IP
2023-06-28 22:54:26 +02:00
Ziemowit Łąski
d3d7bda8ca Extend ZoneEdit polling interval to 10min 2023-06-03 00:42:28 -07:00
Ziemowit Łąski
218e1a9974 Squelch 'postscript' warning 2023-06-03 00:42:28 -07:00
Ziemowit Łąski
bbed067864 Fix script failures on ZoneEdit 2023-06-03 00:35:51 -07:00
Timothée Andres
82af20f8d4
Add infomaniak protocol (#537) 2023-06-01 13:47:53 +02:00
Franco Fichtner
1c91a5aa84
dyndns2: fix multiline parsing and multiple host handling (#542) 2023-06-01 10:46:04 +02:00
rolltack
aedf6f866b
Fix bug #501: (Keysystems) removed wrong parameter
Looks like there is a bug in line 542 in ddclient.in. The syntax of how the server URL is being set is different to all the other dynamic DNS services. To be precise there is one additional parameter. Instead of handing over the URL, the server variable receives the second "1" in the code below.
2023-04-15 23:53:06 +01:00
{16/7}
e92c54f6f9 Allow postscript to take args
$globals{postscript} can now contain a full command string including
arguments. In order to facilitate this, the file executability check
(-x) has been modified such that the first substring up to the first
space (if it exists) is what is checked, rather than the whole string.
2023-04-04 14:58:39 -07:00
Thomas Hebb
c436a34ede Add support for Digital Ocean 2023-03-14 11:49:10 -04:00
Sandro
b49bd9eda9
Merge pull request #519 from tchebb/fix-whitespace
Fix a few whitespace issues and a typo
2023-03-14 14:35:23 +01:00
Thomas Hebb
07fbbeb5bb Fix a few whitespace issues and a typo 2023-02-25 23:28:45 -05:00
Thomas du Boÿs
611b41e7a6
Merge configs for the same hosts instead of using the last one 2023-02-21 21:00:23 +01:00
Jontron123
c5a956e386
Add support for Enom (#508)
* Add support for Enom

* Add support for Enom

* Add support for Enom
2023-02-08 13:59:52 +01:00
Naoya Niwa
65a1bcc7d9
Add support for Porkbun (#490)
* Add support for Porkbun

* Add IPv6 support for porkbun
2023-02-08 13:56:08 +01:00
Sandro
9fccfde9e5
Merge pull request #505 from tduboys/usev4_local_config 2023-01-31 20:43:44 +01:00
Sandro
76e441c542
Merge pull request #504 from tduboys/usev4_disable_use 2023-01-29 17:43:35 +01:00
Sandro
8bbafa5988
Merge pull request #506 from drinn/devel 2023-01-29 17:41:53 +01:00
Thomas du Boÿs
5596ee83d1
set use to disabled if usev4 or usev6 is set 2023-01-28 18:49:59 +01:00
drinn
dbc40557d2 removed empty space 2023-01-28 09:59:58 -06:00
drinn
d35d62f3e7 updated nic_duckdns_update to account for extra lines in duckdns reply 2023-01-28 09:48:51 -06:00
Thomas du Boÿs
11a5bd5e7e
define usev4, usev6 and dependancies as per-host config 2023-01-28 11:34:41 +01:00
Thomas du Boÿs
cca4291360
fix ipv4 address on message log when address already set 2023-01-28 10:46:43 +01:00
Thomas du Boÿs
fa6c95f511
Update dyndns2 client to use new IPv4/IPv6 logic
Signed-off-by: Thomas du Boÿs <thomas@duboys.info>
2023-01-27 18:24:39 +01:00
Reuben Thomas
e910204b3d
Add support for Mythic Beasts Dynamic DNS (#312)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-01-14 02:24:03 +01:00
Luca Schöneberg
8d3a383587
Revert "fix hetzner zone problem", add zone_id to filter (Hetzner) (#491) 2023-01-13 22:30:06 +01:00
Sandro
5fcf4b37f2
Merge pull request #494 from mjbrowns/master 2023-01-13 18:51:27 +01:00
Sandro
63a78a7f46
Merge pull request #488 from ThinkChaos/fix/ovh-multiline-response 2023-01-13 18:51:16 +01:00