summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-30 20:20:43 +0200
committerGitHub <noreply@github.com>2024-04-30 20:20:43 +0200
commitb2a320d5f714aa2ecfe75cd87fe9a0654932bde5 (patch)
tree9c1718ab2490e107f8a1f1b0eda60f6b4b59363c /interface-definitions
parentf07bdb139432259bec5af6659a8d6e4fbc7cb4be (diff)
parent3c37b6a44dca552da950b5288a30c7e074d58704 (diff)
downloadvyos-1x-b2a320d5f714aa2ecfe75cd87fe9a0654932bde5.tar.gz
vyos-1x-b2a320d5f714aa2ecfe75cd87fe9a0654932bde5.zip
Merge pull request #3379 from sever-sever/T6169
T6169: DNS forwarding should allow underscore for srv record
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/service_dns_forwarding.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/service_dns_forwarding.xml.in b/interface-definitions/service_dns_forwarding.xml.in
index a54618e82..b52b4bda3 100644
--- a/interface-definitions/service_dns_forwarding.xml.in
+++ b/interface-definitions/service_dns_forwarding.xml.in
@@ -115,7 +115,7 @@
<description>An absolute DNS domain name</description>
</valueHelp>
<constraint>
- <validator name="fqdn"/>
+ <regex>((?!-)[-_a-zA-Z0-9.]{1,63}|@|any)(?&lt;!\.)</regex>
</constraint>
</properties>
<children>