diff --git a/hunter/Cargo.toml b/hunter/Cargo.toml index e737d3e..dbc4807 100644 --- a/hunter/Cargo.toml +++ b/hunter/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] futures = "0.3" tokio = { version = "1", features = ["full"] } -reqwest = { version = "0.11", features = ["json", "deflate", "gzip"] } +reqwest = { version = "0.11", features = ["json", "deflate", "gzip", "trust-dns"] } serde = { version = "1", features = ["derive"] } # serde_yaml = "0.9" chrono = "0.4" diff --git a/hunter/src/main.rs b/hunter/src/main.rs index 0e53803..969c1d3 100644 --- a/hunter/src/main.rs +++ b/hunter/src/main.rs @@ -60,6 +60,7 @@ async fn main() { )) .deflate(true) .gzip(true) + .trust_dns(true) .build() .expect("reqwest::Client");