print number of records
This commit is contained in:
parent
d625115689
commit
5af2cb51d6
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue