Skip to content

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

@rgacogne

Description

@rgacogne
  • 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))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions