1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Added _amazonses to list of allowed name with underscore (#133)

Thanks for the PR!
This commit is contained in:
Manatsawin Hanmongkolchai
2017-06-07 19:54:39 +07:00
committed by Tom Limoncelli
parent dcf2285dd2
commit c458594788

View File

@@ -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 == "@" {