[dnsdist] 回复: addAction(QnameSuffixRule) error

jiang-wd at 139.com jiang-wd at 139.com
Sun Aug 25 09:09:55 UTC 2024


Finally, I found what's wrong.
The word QNameSuffixRule, upper N, not lower n.
 


 
发件人: jiang-wd at 139.com
发送时间: 2024-08-25 12:09
收件人: dnsdist
主题: addAction(QnameSuffixRule) error
hi,all

When start dnsdist, log error:
Fatal Lua error: [string "chunk"]:14: attempt to call global 'QnameSuffixRule' (a nil value)

dnsdist.conf:
newServer({address="111.31.2.6",pool="internal-pool"})
newServer("111.125.1.250")
newServer("111.125.1.250")
addAction(QnameSuffixRule("mydomain.com"), PoolAction("internal-pool"))
addAction(PoolAvailableRule(""), PoolAction(""))

Can anyone help me with this problem?
Thanks.
 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20240825/b5a3b06a/attachment.htm>


More information about the dnsdist mailing list