diff --git a/internal/web/actions/default/dns/domains/domainutils/utils.go b/internal/web/actions/default/dns/domains/domainutils/utils.go index de0bb7ca..48596e4e 100644 --- a/internal/web/actions/default/dns/domains/domainutils/utils.go +++ b/internal/web/actions/default/dns/domains/domainutils/utils.go @@ -77,7 +77,7 @@ func ValidateRecordName(name string) bool { strings.HasSuffix(piece, "-") || strings.Contains(piece, "--") || len(piece) > 63 || - !regexp.MustCompile(`^[a-z0-9-]+$`).MatchString(piece) { + !regexp.MustCompile(`^[_a-z0-9-]+$`).MatchString(piece) { return false } }