summaryrefslogtreecommitdiff
path: root/interface-definitions/include/dns/dynamic-service-host-name-server.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-01 08:17:30 +0100
committerGitHub <noreply@github.com>2023-12-01 08:17:30 +0100
commit93038ae22e6e072ffd5c3cdeae49ec7293e5cc1d (patch)
treed006920ddd3261606461603848930be3b07ec0f0 /interface-definitions/include/dns/dynamic-service-host-name-server.xml.i
parent01fec00f0d662b26262678823bfe4d3cc0d5b574 (diff)
parent2bbf6253038f1751b9b1776a8938c85135ffdca5 (diff)
downloadvyos-1x-93038ae22e6e072ffd5c3cdeae49ec7293e5cc1d.tar.gz
vyos-1x-93038ae22e6e072ffd5c3cdeae49ec7293e5cc1d.zip
Merge pull request #2555 from indrajitr/sagitta-ddclient-backports
ddclient: T5573,T5574,T5612,T5708: Backport ddclient related changes
Diffstat (limited to 'interface-definitions/include/dns/dynamic-service-host-name-server.xml.i')
-rw-r--r--interface-definitions/include/dns/dynamic-service-host-name-server.xml.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/interface-definitions/include/dns/dynamic-service-host-name-server.xml.i b/interface-definitions/include/dns/dynamic-service-host-name-server.xml.i
index ee1af2a36..9dd14f97c 100644
--- a/interface-definitions/include/dns/dynamic-service-host-name-server.xml.i
+++ b/interface-definitions/include/dns/dynamic-service-host-name-server.xml.i
@@ -4,8 +4,9 @@
<help>Hostname to register with Dynamic DNS service</help>
<constraint>
#include <include/constraint/host-name.xml.i>
+ <regex>(\@|\*)[-.A-Za-z0-9]*</regex>
</constraint>
- <constraintErrorMessage>Host-name must be alphanumeric and can contain hyphens</constraintErrorMessage>
+ <constraintErrorMessage>Host-name must be alphanumeric, can contain hyphens and can be prefixed with '@' or '*'</constraintErrorMessage>
<multi/>
</properties>
</leafNode>