Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vsock-proxy DNS lookup fails inside VPC with no internet access. #623

Closed
rohan-passbird opened this issue Jun 2, 2024 · 5 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@rohan-passbird
Copy link

Recent changes to the vsock-proxy code use a different DNS resolver that uses Google's DNS servers by default(https://github.com/aws/aws-nitro-enclaves-cli/blob/main/vsock_proxy/src/dns.rs#L56). This fails when an EC2 machine runs in a subnet with no internet access.

@rohan-passbird
Copy link
Author

Here's the link to the DNS resolver default config that's being used currently: https://github.com/hickory-dns/hickory-dns/blob/f1489da675c21fddc189f2c9505bc9da6c156835/crates/resolver/src/config.rs#L313

@meerd meerd added the bug Something isn't working label Jun 2, 2024
@meerd
Copy link
Contributor

meerd commented Jun 2, 2024

Hello @rohan-passbird,

This is a known issue and will be resolved with this PR622.

@rohan-passbird
Copy link
Author

Got it. Thanks!

@meerd
Copy link
Contributor

meerd commented Jun 13, 2024

The latest release, v1.3.1, resolves the issue. In approximately two weeks, the RPM package should be available in the Amazon Linux repositories.

@meerd meerd self-assigned this Jun 13, 2024
@jplock
Copy link

jplock commented Jul 15, 2024

Amazon Linux 2023.5.20240624 includes this fix

https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes-2023.5.20240624.html

@meerd meerd closed this as completed Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants