diff --git a/providers/cloudns/api.go b/providers/cloudns/api.go index 3f2f3e386..d95b9b923 100644 --- a/providers/cloudns/api.go +++ b/providers/cloudns/api.go @@ -9,7 +9,7 @@ import ( "time" ) -// Api layer for CloDNS +// Api layer for ClouDNS type cloudnsProvider struct { domainIndex map[string]string nameserversNames []string diff --git a/providers/cloudns/auditrecords.go b/providers/cloudns/auditrecords.go index ee4bec450..71e7cd246 100644 --- a/providers/cloudns/auditrecords.go +++ b/providers/cloudns/auditrecords.go @@ -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 } diff --git a/providers/cloudns/cloudnsProvider.go b/providers/cloudns/cloudnsProvider.go index 919ba96f9..0b1f996c1 100644 --- a/providers/cloudns/cloudnsProvider.go +++ b/providers/cloudns/cloudnsProvider.go @@ -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