easydns: Increase default min-interval to 10m

This commit is contained in:
Richard Hansen 2024-07-19 19:21:25 -04:00
parent e7ad0e8e6e
commit 94c304601e
2 changed files with 6 additions and 1 deletions

View file

@ -43,6 +43,9 @@ repository history](https://github.com/ddclient/ddclient/commits/master).
[#709](https://github.com/ddclient/ddclient/pull/709) [#709](https://github.com/ddclient/ddclient/pull/709)
* The diagnostic `--geturl` command-line argument was removed. * The diagnostic `--geturl` command-line argument was removed.
[#712](https://github.com/ddclient/ddclient/pull/712) [#712](https://github.com/ddclient/ddclient/pull/712)
* `easydns`: The default value for `min-interval` was increased from 5m to 10m
to match easyDNS documentation.
[#713](https://github.com/ddclient/ddclient/pull/713)
### New features ### New features

View file

@ -866,7 +866,9 @@ our %protocols = (
'variables' => { 'variables' => {
%{$variables{'protocol-common-defaults'}}, %{$variables{'protocol-common-defaults'}},
'backupmx' => setv(T_BOOL, 0, 1, 0, undef), 'backupmx' => setv(T_BOOL, 0, 1, 0, undef),
'min-interval' => setv(T_DELAY, 0, 0, interval('5m'), 0), # From <https://kb.easydns.com/knowledge/dynamic-dns/>: "You need to wait at least 10
# minutes between updates."
'min-interval' => setv(T_DELAY, 0, 0, interval('10m'), 0),
'mx' => setv(T_OFQDN, 0, 1, undef, undef), 'mx' => setv(T_OFQDN, 0, 1, undef, undef),
'server' => setv(T_FQDNP, 0, 0, 'api.cp.easydns.com', undef), 'server' => setv(T_FQDNP, 0, 0, 'api.cp.easydns.com', undef),
'script' => setv(T_STRING, 0, 1, '/dyn/generic.php', undef), 'script' => setv(T_STRING, 0, 1, '/dyn/generic.php', undef),