Skip to content

Commit

Permalink
Use our custom trust-dns implementation until https://github.com/blue…
Browse files Browse the repository at this point in the history
…jekyll/trust-dns/pull/1632 is decided.

Signed-off-by: Edu4rdSHL <[email protected]>
  • Loading branch information
Edu4rdSHL committed Feb 13, 2022
1 parent e26ae06 commit 8620ede
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
9 changes: 4 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rusolver"
version = "0.9.0"
version = "0.9.1"
authors = ["Eduard Tolosa <[email protected]>"]
edition = "2018"
description = "Fast DNS resolver written in Rust."
Expand All @@ -19,6 +19,9 @@ trust-dns-resolver = "0.20.4"
clap = "2.33.4"
rand = "0.8.4"

# https://github.com/bluejekyll/trust-dns/pull/1632
[patch.crates-io]
trust-dns-resolver = { git = "https://github.com/Findomain/trust-dns", package = "trust-dns-resolver", branch = "custombranch" }

[profile.release]
lto = true
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
attempts: retries,
ip_strategy: LookupIpStrategy::Ipv4Only,
num_concurrent_reqs: 1,
shuffle_dns_servers: true,
..Default::default()
};

Expand Down

0 comments on commit 8620ede

Please sign in to comment.