feat: 域名验证方法支持CNAME间接方式,此方式支持所有域名注册商,且无需提供Access授权,但是需要手动添加cname解析

This commit is contained in:
xiaojunnuo
2024-10-07 03:21:16 +08:00
parent 0c8e83e125
commit f3d35084ed
123 changed files with 2373 additions and 456 deletions
@@ -86,7 +86,8 @@ export class DnspodDnsProvider extends AbstractDnsProvider {
}
async removeRecord(options: RemoveRecordOptions<any>) {
const { fullRecord, value, record } = options;
const { fullRecord, value } = options.recordReq;
const record = options.recordRes;
const domain = await this.matchDomain(fullRecord);
const ret = await this.doRequest({
@@ -70,8 +70,8 @@ export class TencentDnsProvider extends AbstractDnsProvider {
}
async removeRecord(options: RemoveRecordOptions<any>) {
const { fullRecord, value, domain, record } = options;
const { fullRecord, value, domain } = options.recordReq;
const record = options.recordRes;
const params = {
Domain: domain,
RecordId: record.RecordId,