mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-13 10:58:17 +08:00
7f071b4ce8
* HEXONET: Support for long TXT records * HEXONET: Revert and update comments in auditrecords.go * Update auditrecords.go * HEXONET: Sync TXT support with reality * Fix the fixed unit tests Co-authored-by: Burak Tamturk <buraktamturk@gmail.com>
18 lines
407 B
Go
18 lines
407 B
Go
package hexonet
|
|
|
|
import (
|
|
"github.com/StackExchange/dnscontrol/v3/models"
|
|
"github.com/StackExchange/dnscontrol/v3/pkg/recordaudit"
|
|
)
|
|
|
|
// AuditRecords returns an error if any records are not
|
|
// supportable by this provider.
|
|
func AuditRecords(records []*models.RecordConfig) error {
|
|
|
|
if err := recordaudit.TxtNotEmpty(records); err != nil {
|
|
return err
|
|
}
|
|
// Still needed as of 2021-10-01
|
|
|
|
return nil
|
|
}
|