mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2024-11-28 15:35:36 +00:00
fix trust_negative_responses config option
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
160b9afe97
commit
b6cf0e6fcf
|
@ -52,9 +52,7 @@ impl Resolver {
|
|||
for sys_conf in sys_conf.name_servers() {
|
||||
let mut ns = sys_conf.clone();
|
||||
|
||||
if config.query_all_nameservers {
|
||||
ns.trust_negative_responses = true;
|
||||
}
|
||||
ns.trust_negative_responses = !config.query_all_nameservers;
|
||||
|
||||
conf.add_name_server(ns);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue