* \param beenthere
* \param fromCache tells the caller the result came from the cache, may be nullptr
* \param stopAtDelegation if non-nullptr and pointed-to value is Stop requests the callee to stop at a delegation, if so pointed-to value is set to Stopped
- * \return DNS RCODE or -1 (Error) or -2 (RPZ hit)
+ * \return DNS RCODE or -1 (Error)
*/
int SyncRes::doResolveNoQNameMinimization(const DNSName &qname, const QType &qtype, vector<DNSRecord>&ret, unsigned int depth, set<GetBestNSAnswer>& beenthere, vState& state, bool *fromCache, StopAtDelegation *stopAtDelegation)
{
LOG(prefix<<qname<<": failed (res="<<res<<")"<<endl);
- if (res == -2)
- return res;
-
return res<0 ? RCode::ServFail : res;
}
/** returns:
* -1 in case of no results
- * -2 when a FilterEngine Policy was hit
* rcode otherwise
*/
int SyncRes::doResolveAt(NsSet &nameservers, DNSName auth, bool flawedNSSet, const DNSName &qname, const QType &qtype,