better debug output for nameserver

This commit is contained in:
AJ ONeal 2017-03-31 00:03:46 -06:00
parent d225cfa5c6
commit 8c3126a2ac
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ function request(query, opts) {
} }
if (opts.debug) { if (opts.debug) {
console.log('querying ' + nameserver + ':' + opts.port); console.log("querying '" + nameserver + "':'" + opts.port + "'");
} }
server.send(Buffer.from(queryAb), opts.port, nameserver, function () { server.send(Buffer.from(queryAb), opts.port, nameserver, function () {
if (opts.debug) { if (opts.debug) {