Commit graph

1001 commits

Author SHA1 Message Date
Indrajit Raychaudhuri
bfe20e75f8 nsupdate: Adjust script to support simultaneous IPv4 and IPv6 updates
Adjust `nic_nsupdate_update` to use `wantipv4` and `wantipv6` and
support simultaneous IPv4 and IPv6 updates.

Also, set proper `status-ipv4` and `status-ipv6` values after successful
update.
2023-12-02 15:38:33 -06:00
Indrajit Raychaudhuri
8c8a193a70 noip: Adjust script to support simultaneous IPv4 and IPv6 updates
Adjust `nic_noip_update` to use `wantipv4` and `wantipv6` and support
simultaneous IPv4 and IPv6 updates.

Note: Unlike `nic_dyndns2_update`, `$returnedips` actually contains
valid IPv4 and IPv6 addresses, so we can use the response to update the
status.
2023-12-02 15:35:14 -06:00
Lenard Hess
e0611ab192 Merge pull request #558 from TinfoilSubmarine/fix/gandi 2023-11-25 13:55:09 +01:00
Stewart Whitman
2ceb4a9526 Resolves #585 - inheritance for noip service 2023-11-25 13:24:44 +01:00
Lenard Hess
eec72794fd Merge pull request #593 from TinfoilSubmarine/fix/ipversion
Note: This branch has been locally rebased before merging!
2023-11-25 13:18:17 +01:00
Joel Beckmeyer
c382af56a5 don't print erroneous IP version 2023-11-25 13:07:08 +01:00
Joel Beckmeyer
846ab59e68 gandi: improve documentation 2023-11-24 15:56:37 -05:00
Joel Beckmeyer
5ec8bfe141 gandi: update logic
- allow updating IPv6/AAAA
- allow updating A and AAAA records simultaneously
- skip updating if record already has same IP
2023-11-24 15:56:37 -05: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
58c5e4dc3a Merge pull request #595 from ddclient/fix_legacy_caching 2023-11-23 13:00:58 +01:00
Lenard Hess
30f68e4098 docs: Added initial description on provider implementation rules 2023-11-23 13:00:06 +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
Lenard Hess
9145dc1bfd Merge pull request #588 from indrajitr/duckdns-update
duckdns: Adjust script to support simultaneous IPv4 and IPv6 updates
2023-11-19 20:12:26 +01:00
Indrajit Raychaudhuri
3a224b66a4 duckdns: Adjust script to support simultaneous IPv4 and IPv6 updates 2023-11-02 19:34:45 -05:00
Birger J. Nordølum
afa1275253 docs: fix typo of domeneshop 2023-10-29 13:52:54 +01: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
Lenard Hess
ea8216fae4 Updated changelog with porkbun provider fix 2023-10-25 21:17:39 +02:00
LenardHess
e2ce23ed33
Merge pull request #557 from TinfoilSubmarine/fix/porkbun
porkbun: rework logic to allow for simultaneous update of IPv4 and IPv6
2023-10-25 20:29:55 +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
Lenard Hess
8ed2963b79 Updated version number for v3.11.1_0 development 2023-10-21 19:54:12 +02:00
Lenard Hess
17828eedf5 Updated version number for v3.11.0 release 2023-10-21 19:28:33 +02:00
Lenard Hess
39bdce9bb6 Bumped version numbers for next (pre)release 2023-10-15 16:15:54 +02:00
Lenard Hess
d4f9816a6a Finished v3.11.0_1 release 2023-10-15 13:23:22 +02:00
LenardHess
33a5c1b07d
Merge pull request #567 from tchebb/digitalocean-readme
Add DigitalOcean to README
2023-10-15 12:42:22 +02:00
Thomas Hebb
15f9472ac9 Add DigitalOcean to README
I forgot to document the new service in commit c436a34ede ("Add
support for Digital Ocean"). The changelog has since been updated to
mention it, but it's still missing from the README.
2023-09-03 21:08:28 -04: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
d4db5cbc90 Updated changelog for v3.11.0_rc1
Note: I dropped the "DynDNS2 now uses the newer ipv4/ipv6 syntaxes", as
its not visible to users.
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
Reuben Thomas
5af1550e62 README.md: update URLs to point to my fork 2023-07-19 17:11:45 +03:00
Reuben Thomas
e37cf19350 configure.ac: no longer require IO::Socket::IP or IO::Socket::SSL 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
3678befe76 README.md: update and prettify list of dyn DNS providers 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
fbc64243f3 Note that we've added support for DNSExit API v2 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
Reuben Thomas
ae905b3baf README.md: update to show this project is live 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 Jäckel
a4eab34ab4
Add unmaintained notice 2023-07-04 21:28:53 +02: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