diff --git a/exec/load/dns.js b/exec/load/dns.js index 4d07df90ec1a73d04f15309a5bcf102fff8ec5b8..c31a71a4e54151a6e37b1fdfcca4f4ec470f702a 100644 --- a/exec/load/dns.js +++ b/exec/load/dns.js @@ -683,8 +683,10 @@ DNS.prototype.resolveProcess = function(host, callback, dnstype, thisObj) break; }; } - if (rectype === undefined) + if (rectype === undefined) { + this.callback.call(this.thisObj, null); return; + } if (this[rectype].addrs === undefined) this[rectype].addrs = [];