标签: powerdns

  • dnsdist支持ipv6

    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记录查询和应答日志

    dnsdist中做如下配置

    addAction(AllRule(), LogAction(“/var/log/dnsdist.log”, false, true, false, true, true))
    addResponseAction(AllRule(), LogResponseAction(“/var/log/dnsdist.log”, true, false))

    Views: 95

  • dnsdist远程控制台

    • dnsdist中做如下配置

    controlSocket(‘0.0.0.0:5199’)
    setKey(‘mykey’)
    setConsoleACL({‘0.0.0.0/0’, ‘::1/128’})

    • 然后运行console客户端
      dnsdist -c dns.hetao.me -k mykey

    Views: 90