print number of records

This commit is contained in:
AJ ONeal 2017-10-29 02:26:38 -06:00
parent d625115689
commit 5af2cb51d6
1 changed files with 1 additions and 1 deletions

View File

@ -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) // 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 // 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 // filter out NS (delegation) records, unless that is what is intended
someRecords = someRecords.filter(function (r) { someRecords = someRecords.filter(function (r) {