// DO NOT MOVE THIS CODE UP - DNSPacketWriter needs to get the original-cased version
if (g_lowercaseOutgoing)
- dc->d_mdp.d_qname = DNSName(toLower(dc->d_mdp.d_qname.toString()));
+ dc->d_mdp.d_qname = dc->d_mdp.d_qname.makeLowerCase();
uint32_t minTTL=std::numeric_limits<uint32_t>::max();
throw PDNSException("Zones with a mixture of Opt-Out NSEC3 RRs and non-Opt-Out NSEC3 RRs are not supported.");
zs.optOutFlag = ns3rc.d_flags & 1;
if (ns3rc.d_set.count(QType::NS) && !(rr.qname==domain)) {
- DNSName hashPart = DNSName(toLower(rr.qname.makeRelative(domain).toString()));
+ DNSName hashPart = rr.qname.makeRelative(domain).makeLowerCase();
zs.secured.insert(hashPart);
}
return false;