mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-01 14:00:25 +08:00
DNS API支持查询多个同名记录/优化ACME申请
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user