mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-27 18:11:52 +08:00
Added _amazonses to list of allowed name with underscore (#133)
Thanks for the PR!
This commit is contained in:
parent
dcf2285dd2
commit
c458594788
1 changed files with 1 additions and 1 deletions
|
@ -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 == "@" {
|
||||
|
|
Loading…
Reference in a new issue