The correct syntax for setQueryRate is:
```
:setQueryRate(rate, seconds, reason, blockingTime[, action[, warningRate]])
```
The guide forgot to include the "action" parameter in the warningRate example. Note that because the actions are integers, this was valid LUA. It even worked, but the rule wouldn't show up in showDynBlocks()
local dbr = dynBlockRulesGroup()
-- generate a warning above 100 qps for 10s, and start dropping incoming queries above 300 qps for 10s
- dbr:setQueryRate(300, 10, "Exceeded query rate", 60, 100)
+ dbr:setQueryRate(300, 10, "Exceeded query rate", 60, DNSAction.Drop, 100)