summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-30 21:02:20 +0200
committerGitHub <noreply@github.com>2024-04-30 21:02:20 +0200
commit021cc22ebf3cb9f81edb4ae6772385d5dc1c2c23 (patch)
tree2a50ad1e228a7c87ef04dce3cbce8e71b16961f1 /interface-definitions
parent1e8c98e04ee305b72317efb41fedabbfb71b2350 (diff)
parentb07539481e5daf95779767668f1a06aba82ce5ca (diff)
downloadvyos-1x-021cc22ebf3cb9f81edb4ae6772385d5dc1c2c23.tar.gz
vyos-1x-021cc22ebf3cb9f81edb4ae6772385d5dc1c2c23.zip
Merge pull request #3380 from vyos/mergify/bp/sagitta/pr-3379
T6169: DNS forwarding should allow underscore for srv record (backport #3379)
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>