mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-10-09 13:27:39 +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"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Api layer for CloDNS
|
// Api layer for ClouDNS
|
||||||
type cloudnsProvider struct {
|
type cloudnsProvider struct {
|
||||||
domainIndex map[string]string
|
domainIndex map[string]string
|
||||||
nameserversNames []string
|
nameserversNames []string
|
||||||
|
|
|
@ -24,5 +24,10 @@ func AuditRecords(records []*models.RecordConfig) error {
|
||||||
}
|
}
|
||||||
// Still needed as of 2021-03-01
|
// 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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
CloDNS API DNS provider:
|
ClouDNS API DNS provider:
|
||||||
Info required in `creds.json`:
|
Info required in `creds.json`:
|
||||||
- auth-id or sub-auth-id
|
- auth-id or sub-auth-id
|
||||||
- auth-password
|
- auth-password
|
||||||
|
|
Loading…
Add table
Reference in a new issue