From 5af2cb51d634fbbf8cfbc63f3c47d44a7a2e7d65 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 29 Oct 2017 02:26:38 -0600 Subject: [PATCH] print number of records --- lib/dns-store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns-store.js b/lib/dns-store.js index ef89016..8e199cf 100644 --- a/lib/dns-store.js +++ b/lib/dns-store.js @@ -395,7 +395,7 @@ module.exports.query = function (input, query, cb) { // NS records are returned as ANSWER for NS and ANY, and as AUTHORITY when an externally-delegated domain would return an SOA (no records) // SOA records are returned as ANSWER for SOA and ANY, and as AUTHORITY when no records are found, but the domain is controlled here - console.log("[DEV] has records"); + console.log("[DEV] has", someRecords.length, "records"); // filter out NS (delegation) records, unless that is what is intended someRecords = someRecords.filter(function (r) {