I set up this rule which does not seem to trigger at all
You can try this rule:
<rule name="test" stopProcessing="true">
<match url="^eifeler-regel-letzebuergesch-checker$" />
<conditions>
<add input="{QUERY_STRING}" pattern="l=([a-z]+)" />
</conditions>
<action type="Redirect" url="https://www.dummydomain.eu/{C:1}/{R:0}" appendQueryString="false" />
</rule>
The second issue is that I have another rule that should block all traffic aiming at any url that's not part of my domain.
I couldn’t understand your requirement clearly, please post more details information about your requirement. You'd better give some examples, I will made demo for you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.