From b07539481e5daf95779767668f1a06aba82ce5ca Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Tue, 30 Apr 2024 14:50:55 +0000 Subject: T6169: DNS forwarding should allow underscore for srv record This srv recors looks valid: ``` set service dns forwarding authoritative-domain _tcp.db.mongors1.example.com records srv _mongodb entry 0 hostname 'mongors1.example.com' ``` But FQDN validator cannot validate it correctly, use regex to fix (cherry picked from commit 3c37b6a44dca552da950b5288a30c7e074d58704) --- interface-definitions/service_dns_forwarding.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ An absolute DNS domain name - + ((?!-)[-_a-zA-Z0-9.]{1,63}|@|any)(?<!\.) -- cgit v1.2.3