]> git.ipfire.org Git - thirdparty/pdns.git/commit
Fix error in setQueryRate warning example 7570/head
authorFrank Louwers <24672+franklouwers@users.noreply.github.com>
Wed, 13 Mar 2019 08:30:32 +0000 (09:30 +0100)
committerGitHub <noreply@github.com>
Wed, 13 Mar 2019 08:30:32 +0000 (09:30 +0100)
commit96a19c701118aca29e25fb39cc92ddd7700f1ba1
treee19517f322a5a3a4d3a68f3fa375138f740def70
parent10a9dee5c51ba10fe69829a28bd649d72ae7aef9
Fix error in setQueryRate warning example

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()
pdns/dnsdistdist/docs/guides/dynblocks.rst