@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user