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-11-30 19:29:53 -0600
commit6c12c28d50538265ad41b1be1015ea6acfaf26b2 (patch)
tree63dc9f9669735c1403c619b1449665c5ddf59f3a /src/validators/ddclient-protocol
parent5a524fa718e2536bb920ef41df04d89b2fbb83ac (diff)
downloadvyos-1x-6c12c28d50538265ad41b1be1015ea6acfaf26b2.tar.gz
vyos-1x-6c12c28d50538265ad41b1be1015ea6acfaf26b2.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"