fix: 修复dns.la域名申请失败的bug

This commit is contained in:
xiaojunnuo
2025-03-21 11:07:15 +08:00
parent 425bba67c5
commit 1de8eee6ea
3 changed files with 30 additions and 22 deletions
@@ -130,12 +130,23 @@ export class DnslaDnsProvider extends AbstractDnsProvider<DnslaRecord> {
* }
*/
const url = `/api/record`;
/**
* A 1
* NS 2
* CNAME 5
* MX 15
* TXT 16
* AAAA 28
* SRV 33
* CAA 257
* URL转发 256
*/
const res = await this.doRequestApi(url, {
domainId: domainId,
type: type,
type: 16,
host: fullRecord,
data: value,
ttl: 60,
ttl: 300,
});
return res.data;