[dnsdist] rmResponseRule("name") not working

Holger Hoffstätte holger at applied-asynchrony.com
Mon Nov 13 21:59:08 UTC 2023


I'm running 1.8.2 and have a response rule:

> showResponseRules()
#   Name                      Matches Rule               Action
0   myRule                    501     All                Lua response script

Now I try to remove it by name:

> rmResponseRule("myRule")
Error: no rule matched

Removing by index (0) works fine, but I only know the name.
If I understand the docs and the source code correctly, this should work.
Suggestion? Haven't started debugging yet, just wanted to make sure I'm
not doing something wrong.


More information about the dnsdist mailing list