Skip to content
Snippets Groups Projects
Commit b6cf0e6f authored by Jason Volk's avatar Jason Volk Committed by 🥺
Browse files

fix trust_negative_responses config option


Signed-off-by: default avatarJason Volk <jason@zemos.net>
parent 160b9afe
No related branches found
No related tags found
No related merge requests found
......@@ -52,9 +52,7 @@ pub(crate) fn new(config: &Config) -> Self {
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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment