summaryrefslogtreecommitdiff
path: root/src/validators/ddclient-protocol
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-11-30 19:29:53 -0600
committerIndrajit Raychaudhuri <irc@indrajit.com>2023-12-05 19:50:35 -0600
commit9ee66654171446dcfc5b544fc21ad000142e967d (patch)
tree2484c553750c2827c628a6ab6b83aaaea39d997f /src/validators/ddclient-protocol
parent18b2bb669bb87cde14324cbc2ae3a16d11fa578a (diff)
downloadvyos-1x-9ee66654171446dcfc5b544fc21ad000142e967d.tar.gz
vyos-1x-9ee66654171446dcfc5b544fc21ad000142e967d.zip
ddclient: T5791: Update dynamic dns configuration path
Modify the configuration path to be consistent with the usual dialects of VyoS configuration (wireguard, dns, firewall, etc.) This would also shorten the configuration path and have a unified treatment for RFC2136-based updates and other 'web-service' based updates. While at it, add support for per-service web-options. This would allow for probing different external URLs on a per-service basis.
Diffstat (limited to 'src/validators/ddclient-protocol')
-rwxr-xr-xsrc/validators/ddclient-protocol2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validators/ddclient-protocol b/src/validators/ddclient-protocol
index 8f455e12e..ce5efbd52 100755
--- a/src/validators/ddclient-protocol
+++ b/src/validators/ddclient-protocol
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-ddclient -list-protocols | grep -vE 'nsupdate|cloudns|porkbun' | grep -qw $1
+ddclient -list-protocols | grep -vE 'cloudns|porkbun' | grep -qw $1
if [ $? -gt 0 ]; then
echo "Error: $1 is not a valid protocol, please choose from the supported list of protocols"