Replies: 2 comments 3 replies
-
This looks very similar to #14795, and what happens is that restarted queries do not go through the "query" rules again. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You are indeed right. Sorry for not finding the related issue myself. As I don’t want to add actual caching at the dnsdist level, any recommendation on how to add a "dummy" cache (enough to be able to call |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to change (spoof) the reply of a DNS query based on the content of the reply.
E.g. if the reply contains any of the IPv4 of
example.com
, I'd like to change those values to an IPv4 of my choice.This is where I am at so far:
From logs in verbose mode I can see that:
However, it seems the "restarted" queries (normally tagged with "spoofed") are not catched by the two
addAction(TagRule("spoofed"), ...)
rules.What am I missing/doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions