[Pdns-users] Some question about DNSDist

Theodore Baschak theodore at ciscodude.net
Fri Nov 25 17:51:15 UTC 2016


On Fri, Nov 25, 2016 at 11:05 AM, <abang at t-ipnet.net> wrote:

> > responded to health check with ServFail
>
> You have to define a health check which works!
>
> From documentation:
>
> newServer({address="ip:port", qps=1000, order=1, weight=10, pool="abuse",
> retries=5, tcpSendTimeout=30, tcpRecvTimeout=30, checkName="
> a.root-servers.net.", checkType="A", setCD=false, maxCheckFailures=1,
> mustResolve=false, useClientSubnet=true, source="address|interface
> name|address at interface"}): instantiate a server with additional parameters
>
> See
> http://dnsdist.org/README/
>
> Winfried
>
>
To expand on this a little, the default check is to do an A lookup for
a.root-servers.net which is ok for a recursive DNS server, but if you're
putting dnsdist in front of an authoritative DNS server (if you're hosting
your own zone you are) then you'll need to adjust your check to fit your
environment.

Example:
newServer{address="192.168.3.3:5353", qps=10, order=1, checkName="myzone.com
"}
newServer{address="192.168.3.4", qps=10, order=2, checkName="myzone.com"}

Theodore Baschak - AS395089 - Hextet Systems
https://ciscodude.net/ - https://hextet.systems/
http://mbix.ca/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20161125/a6463ea9/attachment-0001.html>


More information about the Pdns-users mailing list