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

AD flag is cached incorrectly #6642

Open
ADV-R opened this issue Apr 25, 2024 · 0 comments
Open

AD flag is cached incorrectly #6642

ADV-R opened this issue Apr 25, 2024 · 0 comments
Labels

Comments

@ADV-R
Copy link

ADV-R commented Apr 25, 2024

What happened:

It looks like if the first request does not contain AD flag, cache plugin just caches the response and responds without it even if the next requests contain such flag.

The reverse scenario when the first request contains AD flag and the next ones doesn't is working correctly.

How to reproduce it (as minimally and precisely as possible):

dig cloudflare.net +noad - no AD flag as expected
dig cloudflare.net +ad immediately after - still no AD flag when it should be here

Environment:

  • the version of CoreDNS: v1.11.1
@ADV-R ADV-R added the bug label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant