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>
plugins: only wheel and wwwonly may stop services
configd's socket is open to every local user, so without allowed_groups
any of them could stop these services. Matches core's service stop
actions (08c23bcdd9) and net/netflector (8011b98b2). acme-client's
http-stop is its service stop; iperf's job stops stay open, like core's
interface.ping.stop.
net/netflector: only wheel and wwwonly may stop the service
configd's socket is open to every local user, so without allowed_groups
any of them could stop netflector. Matches core's service stop actions.