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

recursor: strip dnssec records on cache hit #2245

Merged
merged 3 commits into from
Jul 1, 2024

Conversation

japaric
Copy link
Collaborator

@japaric japaric commented Jun 17, 2024

this is triggered by a DO=1 query followed by the almost exact same query but with DO=0

this is best reviewed on a commit by commit basis

crates/recursor/src/recursor.rs Outdated Show resolved Hide resolved
@japaric japaric force-pushed the ja-recursor-strip-dnssec-records-on-cache-hit branch from d8e6890 to 5221f16 Compare June 18, 2024 11:01
@japaric
Copy link
Collaborator Author

japaric commented Jun 20, 2024

can we merge this? my next PR (for #2234) would be cleaner with this change in place

@djc
Copy link
Collaborator

djc commented Jun 20, 2024

I'd like to get a review from @bluejekyll in. You can use this branch as the base branch for your next one?

after PR #2239 we store both answers and rrsig records in the same cache
so there's no reason to branch here anymore

if the recursor is not security aware then rrsigs will never make it
into record_cache
@japaric japaric force-pushed the ja-recursor-strip-dnssec-records-on-cache-hit branch from 5221f16 to ecf3622 Compare June 26, 2024 11:54
@bluejekyll
Copy link
Member

Thanks for the PR!

@bluejekyll bluejekyll merged commit 8155f37 into main Jul 1, 2024
19 checks passed
@bluejekyll bluejekyll deleted the ja-recursor-strip-dnssec-records-on-cache-hit branch July 1, 2024 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants