cname fix again

e4d9dbb558 left out this line by mistake
This commit is contained in:
Girish Ramakrishnan
2023-01-26 12:55:36 +01:00
parent 2506c77c48
commit 2b260c873f

View File

@@ -27,7 +27,7 @@ async function resolveIp(hostname, type, options) {
// recurse lookup the CNAME record
debug(`resolveIp: CNAME record found. Resolving ${hostname}'s CNAME record ${cnameResults[0]} using unbound`);
return await dig.resolve(cnameResults[0], type, options);
return await dig.resolve(cnameResults[0], type, _.omit(options, 'server'));
}
async function isChangeSynced(hostname, type, value, nameserver) {