Match based on query destination IP

Hi,

I would like to somehow tag or assign clients to a view based on the destination address of the client query.
If for example a client (10.10.0.1) queries the server (10.20.0.1) I would like to match on the address 10.20.0.1.

The background is that I have multiple rpz zones (blocklists) and would like the client to be able to choose which “blocklists” to apply to their queries by configuring their resolver based on a list that I provide. Client addresses are random and not under my control.
The list might look something like:

Hi Oskar,

It seems you are asking the same question as the one in the thread titled "RPZ based on destination".

I just replied there and you may find the answer helpful.

Best regards,
-- George