aws / aws-nitro-enclaves-cli

Tooling for Nitro Enclave Management
Apache License 2.0
116 stars 78 forks source link

vsock_proxy: Use system-configured nameservers for DNS resolution #622

Closed meerd closed 1 month ago

meerd commented 1 month ago

Description of changes:

This commit changes the DNS resolver's initialization to use the system's configured nameservers instead of the default nameserver provided by hickoery-resolver crate.

The Resolver::from_system_conf() method is now used to initialize the DNS resolver. This method attempts to read the system's nameserver configuration, which may come from various sources such as /etc/resolv.conf.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.