dns/ddclient: add request timeout to Cloudflare (#5977)
Without a timeout, a connection that drops during an update blocks
the daemon in read() forever and no account is updated again until
the service is restarted.
Use 15 seconds, the timeout the legacy dyndns plugin used for all
providers.
Co-authored-by: Patrick Monfette <13983955+RedVortex at users.noreply.github.com>
dns/opendns: new plugin, moved from core with an MVC/API page (#5967)
* dns/opendns: new plugin, moved from core with an MVC/API page
Replaces the legacy OpenDNS page in core. Apply registers the network IP
address and reports registration errors. The system DNS settings are
saved when OpenDNS takes them over and restored when it is disabled or
switched to standalone mode.
* dns/opendns: take over system DNS on save, address review
The system DNS servers are taken over and restored when the settings
are saved instead of on apply, so a failed registration no longer
leaves them untouched. A network label can no longer be blank or start
or end with a space. The help no longer links to System: Settings:
General.
* dns/opendns: plain URLs in help
[6 lines not shown]
dns/ddclient: clear the cache of PPP accounts on CARP MASTER (#5953)
With "Disconnect dialup interfaces" only the MASTER holds the PPP
address. The native backend only updates when the address differs
from its local cache, which doesn't know what the other node sent,
so a node getting its previous address back after a failback sends
nothing and the record keeps the other node's address.
When the CARP group of a PPP link's parent becomes MASTER, clear the
cache of the accounts on that link with the existing force refresh.
The link is found the same way 20-ppp does it. Other setups are not
affected.
Closes #5718
Co-authored-by: Patrick Monfette <13983955+RedVortex at users.noreply.github.com>