From c458594788ea90b3c6856670d5ac41797da9dc84 Mon Sep 17 00:00:00 2001 From: Manatsawin Hanmongkolchai Date: Wed, 7 Jun 2017 19:54:39 +0700 Subject: [PATCH] Added _amazonses to list of allowed name with underscore (#133) Thanks for the PR! --- 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 5f49e8617..f14607f3c 100644 --- a/pkg/normalize/validate.go +++ b/pkg/normalize/validate.go @@ -77,7 +77,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 expectedUnderscores = []string{"_domainkey", "_dmarc"} +var expectedUnderscores = []string{"_domainkey", "_dmarc", "_amazonses"} func checkLabel(label string, rType string, domain string) error { if label == "@" {