Skip to content

Commit

Permalink
vsock_proxy: Use hickory_resolver for DNS resolution
Browse files Browse the repository at this point in the history
Replace the existing DNS lookup implementation with hickory_resolver.
This allows accessing additional information from DNS records, such as
TTL values, and enhances the functionality of the dns module.

Signed-off-by: Erdem Meydanli <[email protected]>
  • Loading branch information
meerd committed Apr 10, 2024
1 parent 97a590f commit 1415a7d
Show file tree
Hide file tree
Showing 5 changed files with 226 additions and 50 deletions.
187 changes: 172 additions & 15 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion vsock_proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ rust-version = "1.68"
[dependencies]
chrono = "0.4"
clap = "3.2"
dns-lookup = "2.0.3"
env_logger = "0.10"
hickory-resolver = "0.24"
idna = "0.3.0"
log = "0.4"
nix = "0.26"
Expand Down
Loading

0 comments on commit 1415a7d

Please sign in to comment.