mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-10 17:38:13 +08:00
CLOUDNS: Note that TXT records do not permit double-quotes. Fix typo (#1094)
- Add AuditRecords for TXT NoDoubleQuotes
This commit is contained in:
parent
31054691e9
commit
bcad7c738b
3 changed files with 7 additions and 2 deletions
|
@ -9,7 +9,7 @@ import (
|
|||
"time"
|
||||
)
|
||||
|
||||
// Api layer for CloDNS
|
||||
// Api layer for ClouDNS
|
||||
type cloudnsProvider struct {
|
||||
domainIndex map[string]string
|
||||
nameserversNames []string
|
||||
|
|
|
@ -24,5 +24,10 @@ func AuditRecords(records []*models.RecordConfig) error {
|
|||
}
|
||||
// Still needed as of 2021-03-01
|
||||
|
||||
if err := recordaudit.TxtNoDoubleQuotes(records); err != nil {
|
||||
return err
|
||||
}
|
||||
// Still needed as of 2021-03-11
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
)
|
||||
|
||||
/*
|
||||
CloDNS API DNS provider:
|
||||
ClouDNS API DNS provider:
|
||||
Info required in `creds.json`:
|
||||
- auth-id or sub-auth-id
|
||||
- auth-password
|
||||
|
|
Loading…
Reference in a new issue