}
}
else if (rec->d_type == QType::DNAME) {
+ // We have checked the DNAME rec->d_name above, the actual answer will be synthesized in a later step
allowedAnswerNames.insert(rec->d_name);
}
allowAdditionalEntry(allowedAdditionals, *rec);
}
}
}
- /* dealing with recors in additional */
+ /* dealing with records in additional */
else if (rec->d_place == DNSResourceRecord::ADDITIONAL) {
if (rec->d_type != QType::A && rec->d_type != QType::AAAA && rec->d_type != QType::RRSIG) {
LOG(prefix << qname << ": Removing irrelevant record '" << rec->toString() << "' in the ADDITIONAL section received from " << auth << endl);