Compare commits

...

6 commits

Author SHA1 Message Date
25d162db91 Aggiorna README.md
Some checks failed
CI / test-debian-like (debian:oldstable) (push) Has been cancelled
CI / test-debian-like (debian:stable) (push) Has been cancelled
CI / test-debian-like (debian:testing) (push) Has been cancelled
CI / test-debian-like (ubuntu:20.04) (push) Has been cancelled
CI / test-debian-like (ubuntu:latest) (push) Has been cancelled
CI / test-fedora-like (almalinux:8) (push) Has been cancelled
CI / test-fedora-like (almalinux:latest) (push) Has been cancelled
CI / test-fedora-like (fedora:39) (push) Has been cancelled
CI / test-fedora-like (fedora:latest) (push) Has been cancelled
CI / test-fedora-like (fedora:rawhide) (push) Has been cancelled
2025-02-05 21:38:17 +08:00
Richard Hansen
50e8d2ed00 Post-release version bump 2025-01-19 14:46:10 -05:00
Richard Hansen
d6da6b878d Release v4.0.0 2025-01-19 14:29:22 -05:00
Richard Hansen
33a86eb556
Merge pull request #801 from insanolanbiri/upnp
Add UPnP example in configuration file
2025-01-16 04:10:59 -05:00
Eren Akgün
10d3561353
Add UPnP example in configuration file
This commit demonstrates a simple way to obtain the
IP address using UPnP in the ddclient configuration file.
2025-01-16 11:02:25 +03:00
Richard Hansen
803f77404d Post-release version bump 2025-01-11 03:30:56 -05:00
4 changed files with 49 additions and 28 deletions

View file

@ -3,25 +3,9 @@
This document describes notable changes. For details, see the [source code
repository history](https://github.com/ddclient/ddclient/commits/main).
## 2025-01-11 v4.0.0-rc.3
## v4.0.1-alpha (unreleased work-in-progress)
### Breaking changes
* The string argument to `--cmdv4` or `--cmdv6` is now executed as-is by the
system's shell, matching the behavior of the deprecated `--cmd` option.
This makes it possible to pass command-line arguments, which reduces the
need for a custom wrapper script. Beware that the string is also subject to
the shell's command substitution, quote handling, variable expansion, field
splitting, etc., so you may need to add extra escaping to ensure that any
special characters are preserved literally.
[#766](https://github.com/ddclient/ddclient/pull/766)
### New features
* `dnsexit2`: Multiple hosts are updated in a single API call when possible.
[#684](https://github.com/ddclient/ddclient/pull/684)
## 2025-01-07 v4.0.0-rc.2
## 2025-01-19 v4.0.0
### Breaking changes
@ -48,20 +32,19 @@ repository history](https://github.com/ddclient/ddclient/commits/main).
./configure --sysconfdir=/etc
```
### New features
* New `--mail-from` option to control the "From:" header of email messages.
[#565](https://github.com/ddclient/ddclient/pull/565)
## 2024-12-25 v4.0.0-rc.1
### Breaking changes
* The `--ssl` option is now enabled by default.
[#705](https://github.com/ddclient/ddclient/pull/705)
* Unencrypted (plain) HTTP is now used instead of encrypted (TLS) HTTP if the
URL uses `http://` instead of `https://`, even if the `--ssl` option is
enabled. [#608](https://github.com/ddclient/ddclient/pull/608)
* The string argument to `--cmdv4` or `--cmdv6` is now executed as-is by the
system's shell, matching the behavior of the deprecated `--cmd` option.
This makes it possible to pass command-line arguments, which reduces the
need for a custom wrapper script. Beware that the string is also subject to
the shell's command substitution, quote handling, variable expansion, field
splitting, etc., so you may need to add extra escaping to ensure that any
special characters are preserved literally.
[#766](https://github.com/ddclient/ddclient/pull/766)
* The default web service for `--webv4` and `--webv6` has changed from Google
Domains (which has shut down) to ipify.
[5b104ad1](https://github.com/ddclient/ddclient/commit/5b104ad116c023c3760129cab6e141f04f72b406)
@ -103,6 +86,8 @@ repository history](https://github.com/ddclient/ddclient/commits/main).
### New features
* New `--mail-from` option to control the "From:" header of email messages.
[#565](https://github.com/ddclient/ddclient/pull/565)
* Simultaneous/separate updating of IPv4 (A) records and IPv6 (AAAA) records
is now supported in the following services: `gandi`
([#558](https://github.com/ddclient/ddclient/pull/558)), `nsupdate`
@ -149,6 +134,8 @@ repository history](https://github.com/ddclient/ddclient/commits/main).
[#726](https://github.com/ddclient/ddclient/pull/726)
* `porkbun`: The update URL hostname is now configurable via the `server`
option. [#752](https://github.com/ddclient/ddclient/pull/752)
* `dnsexit2`: Multiple hosts are updated in a single API call when possible.
[#684](https://github.com/ddclient/ddclient/pull/684)
### Bug fixes

View file

@ -3,6 +3,36 @@
`ddclient` is a Perl client used to update dynamic DNS entries for accounts
on many dynamic DNS services. It uses `curl` for internet access.
on docker compose
```docker-compose
services:
ddclient:
image: lscr.io/linuxserver/ddclient:latest
container_name: ddclient
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Rome
volumes:
- /home/orangepi/dockerfiles/ddclient/config:/config
restart: unless-stopped
```
file ddclient.conf per servizio DDNS di dynu.com da mettere nel folder config
```file
daemon=60 # check every 300 seconds
syslog=yes # log update msgs to syslog
mail=root # mail all msgs to root#mail-failure=root # mail failed update msgs to root
pid=/var/run/ddclient/ddclient.pid # record PID in file.
use=web, web=checkip.dynu.com/, web-skip='IP Address'
protocol=dyndns2 # default protocol
server=api.dynu.com
# default login
login=FabioMich66 # your default user
password=Master66! # your default password
wildcard=yes
patachina.casacam.net
```
## Alternatives
You might also want to consider using one of the following, if they support

View file

@ -53,6 +53,10 @@ pid=@runstatedir@/ddclient.pid # record PID in file.
## To obtain an IP address from FW status page (using fw-login, fw-password)
#use=fw, fw=192.168.1.254/status.htm, fw-skip='IP Address' # found after IP Address
#
## To obtain an IP address via UPnP from router
## Requires miniupnpc to be installed on the system.
#use=cmd, cmd=external-ip
#
## To obtain an IP address from Web status page (using the proxy if defined)
## by default, checkip.dyndns.org is used if you use the dyndns protocol.
## Using use=web is enough to get it working.

View file

@ -78,7 +78,7 @@ use Sys::Hostname;
#
# For consistency and to match user expectations, the release part of the version is always three
# components: MAJOR.MINOR.PATCH.
use version 0.77; our $VERSION = version->declare('v4.0.0.0_903');
use version 0.77; our $VERSION = version->declare('v4.0.1.0_0');
sub parse_version {
my ($v) = @_;