mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +00:00
Retry NSDomain queries, if wanted
This commit is contained in:
parent
3c6cd69f50
commit
bd8d047428
1 changed files with 4 additions and 0 deletions
|
@ -358,6 +358,10 @@ resolveLoop:
|
||||||
// Defensive: This should normally not happen.
|
// Defensive: This should normally not happen.
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
// Check if we got NXDomain and whether we should try another resolver.
|
||||||
|
if rrCache.IsNXDomain() && tryAll {
|
||||||
|
continue
|
||||||
|
}
|
||||||
break resolveLoop
|
break resolveLoop
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue