CLOUDNS: Note that TXT records do not permit double-quotes. Fix typo (#1094)

- Add AuditRecords for TXT NoDoubleQuotes
This commit is contained in:
2021-03-15 01:16:53 +09:00 committed by GitHub
parent 31054691e9
commit bcad7c738b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View file

@ -9,7 +9,7 @@ import (
"time"
)
// Api layer for CloDNS
// Api layer for ClouDNS
type cloudnsProvider struct {
domainIndex map[string]string
nameserversNames []string

View file

@ -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
}

View file

@ -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