From 2b260c873fafac29245f2e34ae65eeff0935c457 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 26 Jan 2023 12:55:36 +0100 Subject: [PATCH] cname fix again e4d9dbb55853ae5e5a2cca5f0514db2a2f5665e5 left out this line by mistake --- src/dns/waitfordns.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dns/waitfordns.js b/src/dns/waitfordns.js index 8d3a1204c..70215deed 100644 --- a/src/dns/waitfordns.js +++ b/src/dns/waitfordns.js @@ -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) {