DNS API支持查询多个同名记录/优化ACME申请

This commit is contained in:
GoEdgeLab
2022-11-17 17:33:59 +08:00
parent 1e1f81f2a0
commit 8b1a5e1fb7
16 changed files with 381 additions and 35 deletions

View File

@@ -22,6 +22,9 @@ type ProviderInterface interface {
// QueryRecord 查询单个记录
QueryRecord(domain string, name string, recordType dnstypes.RecordType) (*dnstypes.Record, error)
// QueryRecords 查询多个记录
QueryRecords(domain string, name string, recordType dnstypes.RecordType) ([]*dnstypes.Record, error)
// AddRecord 设置记录
AddRecord(domain string, newRecord *dnstypes.Record) error