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 rules to be applied on a cache hit #4708

Closed
rgacogne opened this issue Nov 24, 2016 · 0 comments
Closed

dnsdist: Add rules to be applied on a cache hit #4708

rgacogne opened this issue Nov 24, 2016 · 0 comments

Comments

@rgacogne
Copy link
Member

@rgacogne rgacogne commented Nov 24, 2016

  • Program: dnsdist
  • Issue type: Feature request

Short description

It would be nice to be able to apply actions to responses coming from the cache, for example to be able to log a cache hit to a remote protocol buffer server.

For example:

> rl = newRemoteLogger("192.0.2.1:4242")
> addCacheHitAction(AllRule(), RemoteLogResponseAction(rl))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant