diff --git a/lib/digd.js b/lib/digd.js index cffbb43..d6d7d22 100644 --- a/lib/digd.js +++ b/lib/digd.js @@ -276,7 +276,7 @@ module.exports.query = function (engine, query, cb) { var qarr = qname.split('.'); var qnames = []; while (qarr.length) { - qnames.push(qarr.join('.').toLowerCase()); + qnames.push({ name: qarr.join('.').toLowerCase() }); qarr.shift(); // first } @@ -286,7 +286,7 @@ module.exports.query = function (engine, query, cb) { console.log(qnames); // getSoas - return engine.zones.get({ names: qnames }, function (err, myDomains) { + return engine.zones.get(qnames, function (err, myDomains) { console.log('[SOA] looking for', qnames, 'and proudly serving', err, myDomains); if (err) { cb(err); return; } diff --git a/lib/public/index.html b/lib/public/index.html index 42cd008..4fad2e3 100644 --- a/lib/public/index.html +++ b/lib/public/index.html @@ -43,19 +43,7 @@ {{ retry }} {{ refresh }} {{ ttl }} - -