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

dnsdist: Add the ability to cap the TTL of records after insertion into the cache #12384

Merged
merged 4 commits into from
Jan 13, 2023

Conversation

rgacogne
Copy link
Member

@rgacogne rgacogne commented Jan 6, 2023

Short description

This pull request introduces the ability to cap the TTL of records after they have been inserted into the packet cache, so that we can keep them in cache for as long as possible but still return a lower TTL to the client.

Note that this pull request builds on #12383 and will have to be rebased.

Checklist

I have:

  • read the CONTRIBUTING.md document
  • compiled this code
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

@rgacogne rgacogne marked this pull request as ready for review January 11, 2023 13:46
@rgacogne rgacogne requested a review from chbruyand January 11, 2023 13:46
rgacogne added a commit to rgacogne/pdns that referenced this pull request Jan 13, 2023
rgacogne added a commit to rgacogne/pdns that referenced this pull request Jan 13, 2023
@rgacogne rgacogne merged commit b4b4135 into PowerDNS:master Jan 13, 2023
@rgacogne rgacogne deleted the ddist-cap-ttl branch January 13, 2023 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants