summaryrefslogtreecommitdiff
path: root/interface-definitions/dns-domain-name.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/dns-domain-name.xml.in')
-rw-r--r--interface-definitions/dns-domain-name.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/dns-domain-name.xml.in b/interface-definitions/dns-domain-name.xml.in
index 9aca38735..e4d8c0f90 100644
--- a/interface-definitions/dns-domain-name.xml.in
+++ b/interface-definitions/dns-domain-name.xml.in
@@ -34,7 +34,7 @@
<properties>
<help>System host name (default: vyos)</help>
<constraint>
- <regex>[A-Za-z0-9][-.A-Za-z0-9]*[A-Za-z0-9]</regex>
+ #include <include/constraint/host-name.xml.in>
</constraint>
</properties>
</leafNode>