mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
CLOUDNS: Note that TXT records do not permit double-quotes. Fix typo (#1094)
- Add AuditRecords for TXT NoDoubleQuotes
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user