[dnsdist] dnsdist - secondary server in "hot standby" mode

Federico Olivieri lvrfrc87 at gmail.com
Tue Jan 5 16:20:47 UTC 2016

Hi Remi

Thank you very much for the clue! It works as I wanted :D. I did some test
also and the load balancer switch between the server as magic!



2016-01-05 16:05 GMT+00:00 Remi Gacogne <remi.gacogne at powerdns.com>:

> Hi Federico,
> On 01/05/2016 11:37 AM, Federico Olivieri wrote:
> > I would like to understand if there is any way to configure a rule that
> > put a DNS server in "hot standby" mode. I'll give you an example:
> >
> > I have 2 or more DNS servers configured in dnsdist. I want forward all
> > queries to the primary server and only if the primary server goes down,
> > redirect the traffic to the second one. Borrowing the terms from HSRP, I
> > would put a secondary server in hot stand-by and use it only in case of
> > fault of the primary.
> > I know that I can play with the weight and wrandom policy but I was
> > wondering if there is a more specified rule for what I'm looking for
> I believe the "firstAvailable" policy with no QPS limit on the servers
> does exactly what you are describing, but if I'm mistaken please let me
> know, since your use case is probably quite common!
> RĂ©mi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20160105/c5f0a93d/attachment.html>

More information about the dnsdist mailing list