for(auto& loopRR: rrset) {
// In a dnssec capable backend auth=true means, there is no delegation at
// or above this qname in this zone (for DS queries). Without a delegation,
- // at or above this level, it is pointless to search for refferals.
+ // at or above this level, it is pointless to search for referrals.
if(loopRR.auth) {
doReferral = false;
break;
} else {
for(auto& loopRR: rrset) {
// In a non dnssec capable backend auth is always true, so our only option
- // is, always look for referals. Unless there is a direct match for DS.
+ // is, always look for referrals. Unless there is a direct match for DS.
if(loopRR.dr.d_type == QType::DS) {
doReferral = false;
break;