[dnsdist] 回复: addAction(QnameSuffixRule) error

jiang-wd at 139.com jiang-wd at 139.com
Sun Aug 25 08:00:02 UTC 2024


replace with SuffixMatchNodeRule, and it worked. 
 


 
发件人: 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/3614584a/attachment.htm>


More information about the dnsdist mailing list