Retry NSDomain queries, if wanted

This commit is contained in:
Daniel 2020-09-22 16:07:51 +02:00
parent 3c6cd69f50
commit bd8d047428

View file

@ -358,6 +358,10 @@ resolveLoop:
// Defensive: This should normally not happen.
continue
}
// Check if we got NXDomain and whether we should try another resolver.
if rrCache.IsNXDomain() && tryAll {
continue
}
break resolveLoop
}
}