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;
|
||||
//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);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue