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: Don't cache ServFail / Refused if the TTL is set to 0 #5037

merged 1 commit into from Feb 21, 2017


Copy link

Short description

If the TTL for ServFail / Refused responses is set to 0, we currently cache these responses for less than 1s, while it would be more logical to simply interpret a 0-TTL as "don't cache".


I have:

  • read the document
  • compiled and tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added regression tests
  • added unit tests

@rgacogne rgacogne added this to the dnsdist-1.2.0 milestone Feb 15, 2017
@pieterlexis pieterlexis merged commit ef1d357 into PowerDNS:master Feb 21, 2017
@rgacogne rgacogne deleted the dnsdist-dont-cache-servfail branch February 21, 2017 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants