From 25df50634d4335e56d2335bdb58332a78a7cbbdb Mon Sep 17 00:00:00 2001 From: Koen Vlaswinkel Date: Tue, 14 Nov 2017 15:56:15 +0100 Subject: [PATCH] Add _acme-challenge as an allowed record name (#267) --- pkg/normalize/validate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/normalize/validate.go b/pkg/normalize/validate.go index c00ef8cbe..c4ca289dc 100644 --- a/pkg/normalize/validate.go +++ b/pkg/normalize/validate.go @@ -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"}