diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-30 20:20:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-30 20:20:43 +0200 |
commit | b2a320d5f714aa2ecfe75cd87fe9a0654932bde5 (patch) | |
tree | 9c1718ab2490e107f8a1f1b0eda60f6b4b59363c /interface-definitions/service_dns_forwarding.xml.in | |
parent | f07bdb139432259bec5af6659a8d6e4fbc7cb4be (diff) | |
parent | 3c37b6a44dca552da950b5288a30c7e074d58704 (diff) | |
download | vyos-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/service_dns_forwarding.xml.in')
-rw-r--r-- | interface-definitions/service_dns_forwarding.xml.in | 2 |
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)(?<!\.)</regex> </constraint> </properties> <children> |