When doing additional processing, an attempt is made to restrict the lookup
to the zone we are answering from. Sadly, we use the domain_id of an
optional getSOA lookup, a lookup that frequently does not happen.
Fixing this shaves 20-40 microseconds from a referral when serving the root.
else
continue;
- B.lookup(QType(d_doIPv6AdditionalProcessing ? QType::ANY : QType::A), lookup, p, sd.domain_id);
+ B.lookup(QType(d_doIPv6AdditionalProcessing ? QType::ANY : QType::A), lookup, p, soadata.domain_id);
while(B.get(rr)) {
if(rr.dr.d_type != QType::A && rr.dr.d_type!=QType::AAAA)