mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-11 01:47:53 +08:00
Add _acme-challenge as an allowed record name (#267)
This commit is contained in:
parent
8f33aedc77
commit
25df50634d
1 changed files with 1 additions and 1 deletions
|
@ -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"}
|
||||
|
|
Loading…
Reference in a new issue