Add _acme-challenge as an allowed record name (#267)

This commit is contained in:
Koen Vlaswinkel 2017-11-14 15:56:15 +01:00 committed by Tom Limoncelli
parent 8f33aedc77
commit 25df50634d

View file

@ -85,7 +85,7 @@ func validateRecordTypes(rec *models.RecordConfig, domain string, pTypes []strin
// underscores in names are often used erroneously. They are valid for dns records, but invalid for urls.
// here we list common records expected to have underscores. Anything else containing an underscore will print a warning.
var labelUnderscores = []string{"_domainkey", "_dmarc", "_amazonses"}
var labelUnderscores = []string{"_domainkey", "_dmarc", "_amazonses", "_acme-challenge"}
//these record types may contain underscores
var rTypeUnderscores = []string{"SRV", "TLSA", "TXT"}