Some actions are actually altering the query and not turning it
into an answer (NoRecurse, DisableValidation).
All the actions that do turn it into an answer are already setting
the QR flag themselves.
case DNSAction::Action::Spoof:
;
case DNSAction::Action::HeaderModify:
- dh->qr=true;
break;
case DNSAction::Action::Allow:
case DNSAction::Action::None:
case DNSAction::Action::Spoof:
;
case DNSAction::Action::HeaderModify:
- dh->qr=true;
break;
case DNSAction::Action::Delay:
delayMsec = static_cast<int>(pdns_stou(ruleresult)); // sorry