fix and/or logic
This commit is contained in:
parent
d4646dba06
commit
49811bd321
|
@ -439,7 +439,7 @@ module.exports.query = function (input, query, cb) {
|
||||||
results.header.rcode = NOERROR;
|
results.header.rcode = NOERROR;
|
||||||
//console.log('[DEV] ANSWER results', results);
|
//console.log('[DEV] ANSWER results', results);
|
||||||
|
|
||||||
if (255 === query.question[0].type && 'ANY' === query.question[0].typeName) {
|
if (255 === query.question[0].type || 'ANY' === query.question[0].typeName) {
|
||||||
getNsAndSoa(false, true);
|
getNsAndSoa(false, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue