We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f09e843 commit ed3f19eCopy full SHA for ed3f19e
1 file changed
src/resolver.rs
@@ -208,8 +208,8 @@ pub async fn get_cached_response_or_resolve(
208
let synthesize_nxdomain = {
209
if globals.ignore_unqualified_hostnames && tld.len() == packet_qname.len() {
210
let (qtype, qclass) = dns::qtype_qclass(packet)?;
211
- qtype == dns::DNS_CLASS_INET
212
- && (qclass == dns::DNS_TYPE_A || qclass == dns::DNS_TYPE_AAAA)
+ qclass == dns::DNS_CLASS_INET
+ && (qtype == dns::DNS_TYPE_A || qtype == dns::DNS_TYPE_AAAA)
213
} else if let Some(undelegated_list) = &globals.undelegated_list {
214
undelegated_list.find(tld)
215
} else {
0 commit comments