diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-02-28 10:00:33 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-02-28 10:01:59 +0100 |
commit | 350180a60b9d80b189db51d8e643c9798192a812 (patch) | |
tree | 9c08943aaf33e2cdae082a6aaf8e03ea04bbe191 /interface-definitions/dns-domain-name.xml.in | |
parent | 3e4ac30427fe2af7a304f7e73eb9ecdb27b1ae99 (diff) | |
download | vyos-1x-350180a60b9d80b189db51d8e643c9798192a812.tar.gz vyos-1x-350180a60b9d80b189db51d8e643c9798192a812.zip |
validators: fqdn: T3370: support "private" or "local" domain names
(cherry picked from commit 04724ed189553ce43f8504f68fef8024ef5796de)
Diffstat (limited to 'interface-definitions/dns-domain-name.xml.in')
-rw-r--r-- | interface-definitions/dns-domain-name.xml.in | 2 |
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 3b5843b53..ff632e1d1 100644 --- a/interface-definitions/dns-domain-name.xml.in +++ b/interface-definitions/dns-domain-name.xml.in @@ -44,7 +44,7 @@ <properties> <help>System domain name</help> <constraint> - <regex>[A-Za-z0-9][-.A-Za-z0-9]*</regex> + <validator name="fqdn"/> </constraint> </properties> </leafNode> |