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

Use cached dns results in data plane #226

Merged
merged 11 commits into from
Aug 1, 2024

Conversation

hanneary
Copy link
Member

Why

To minimise the number of DNS requests leaving the enclave the DNS server should cache the records in addition to the ips

How

Swap out lib for one that allows creation of DNS packets
Add records to cache based on ttl returned in the answers section

@hanneary hanneary force-pushed the hannah/etr-2398-use-cached-dns-results-in-data-plane branch from da933fe to 400949b Compare July 31, 2024 10:51
@hanneary hanneary marked this pull request as ready for review July 31, 2024 11:05
@hanneary hanneary merged commit 43b574f into main Aug 1, 2024
26 checks passed
@hanneary hanneary deleted the hannah/etr-2398-use-cached-dns-results-in-data-plane branch August 1, 2024 14:52
hanneary added a commit that referenced this pull request Aug 5, 2024
hanneary added a commit that referenced this pull request Aug 5, 2024
* Revert "Use cached dns results in data plane (#226)"

This reverts commit 43b574f.

* fix toolchain version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants