diff options
Diffstat (limited to 'src/network/dns/resolver.rs')
-rw-r--r-- | src/network/dns/resolver.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/dns/resolver.rs b/src/network/dns/resolver.rs index 5c1e829..7327654 100644 --- a/src/network/dns/resolver.rs +++ b/src/network/dns/resolver.rs @@ -23,11 +23,11 @@ impl Resolver { socket_addr: socket, protocol: Protocol::Udp, tls_dns_name: None, - trust_nx_responses: false, + trust_negative_responses: false, bind_addr: None, }; config.add_name_server(nameserver_config); - TokioAsyncResolver::tokio(config, options)? + TokioAsyncResolver::tokio(config, options) } None => TokioAsyncResolver::tokio_from_system_conf()?, }; |