mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
fix: 修复dns.la域名申请失败的bug
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user