dnsdist默认会以1Hz的频率向上游服务器发送a.root-servers.net的解析请求,用于健康检查,下面配置10分钟发送一次
newServer({address="172.30.0.54", pool="rec", checkInterval=600})
Views: 1
dnsdist默认会以1Hz的频率向上游服务器发送a.root-servers.net的解析请求,用于健康检查,下面配置10分钟发送一次
newServer({address="172.30.0.54", pool="rec", checkInterval=600})
Views: 1
dnsdist.conf中按下面配置,同时Docker开启ipv6支持
addLocal('0.0.0.0', {reusePort=true,doTCP=true})
addLocal('::', {reusePort=true,doTCP=true})
setACL({'0.0.0.0/0', '::/0'})
webserver("0.0.0.0:8083")
webserver("[::]:8083")
Views: 1
dnsdist中做如下配置
addAction(AllRule(), LogAction(“/var/log/dnsdist.log”, false, true, false, true, true))
addResponseAction(AllRule(), LogResponseAction(“/var/log/dnsdist.log”, true, false))
Views: 95
controlSocket(‘0.0.0.0:5199’)
setKey(‘mykey’)
setConsoleACL({‘0.0.0.0/0’, ‘::1/128’})
Views: 90