mirror of
https://github.com/certd/certd.git
synced 2026-04-15 05:00:52 +08:00
fix: 修复从本地dns获取记录报错的bug
This commit is contained in:
@@ -98,7 +98,7 @@ export async function walkTxtRecord(recordName,deep = 0) {
|
||||
try {
|
||||
/* Default DNS resolver first */
|
||||
log('从本地DNS服务器获取TXT解析记录');
|
||||
const res = await walkDnsChallengeRecord(recordName,null,deep);
|
||||
const res = await walkDnsChallengeRecord(recordName,dns,deep);
|
||||
if (res && res.length > 0) {
|
||||
for (const item of res) {
|
||||
txtRecords.push(item)
|
||||
|
||||
Reference in New Issue
Block a user