We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 714dbd2 commit 31b0a2bCopy full SHA for 31b0a2b
domainconnectzone/validate.py
@@ -88,4 +88,4 @@ def is_valid_host_srv(input):
88
if input == "@":
89
return True # APEX is allowed as a name in SRV
90
allowed = re.compile("(?!-)[A-Z\d-]{1,63}(?<!-)$", re.IGNORECASE)
91
- return all(allowed.match(x) for x in input.split("."))
+ return all(allowed.match(x.lstrip('_')) for x in input.split(".")) #allows for leading underscores
0 commit comments