diff --git a/vsock_proxy/src/dns.rs b/vsock_proxy/src/dns.rs index 3945bd1a..915da9f1 100644 --- a/vsock_proxy/src/dns.rs +++ b/vsock_proxy/src/dns.rs @@ -6,7 +6,6 @@ use std::net::IpAddr; use chrono::{DateTime, Duration, Utc}; -use hickory_resolver::config::*; use hickory_resolver::Resolver; use idna::domain_to_ascii; @@ -51,11 +50,12 @@ pub fn resolve(addr: &str, ip_addr_type: IpAddrType) -> VsockProxyResult = resolver .lookup_ip(addr) .map_err(|_| "DNS lookup failed!")?