Thanks, for you reply<br>Is it correct -taking your answer into account- to state that multiple Mysql backends configured in pdns.conf is only there to provide load balancing to the mysq servers and NOT to increase availability of a backend to the dns service?<br>
In other words: if load on the mysql backend is not a problem there is no reason at all to have more then one mysql instance from a powerdns perspective?<br>thanks<br>Stefan<br><br><div class="gmail_quote">On Mon, Oct 29, 2012 at 9:28 AM, Peter van Dijk <span dir="ltr"><<a href="mailto:peter.van.dijk@netherlabs.nl" target="_blank">peter.van.dijk@netherlabs.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Stefan,<br>
<div class="im"><br>
On Oct 28, 2012, at 19:45 , s-tobe wrote:<br>
<br>
> # gmysql-socket=<br>
><br>
> # MULTI BACKEND OPERATION, TWO INSTANCES<br>
> launch=gmysql,gmysql:connection2<br>
><br>
><br>
> gmysql-connection2-password=...<br>
> gmysql-connection2-host=IP B1<br>
> gmysql-connection2-user=power_admin<br>
> gmysql-connection2-dbname=pdns<br>
> gmysql-connection2-dnssec=no<br>
><br>
> gmysql-password=...<br>
> gmysql-host=IP B2<br>
> gmysql-user=power_admin<br>
> gmysql-dbname=pdns<br>
> gmysql-dnssec=no<br>
><br>
> Questions 1 : why are no queries to the available backend launched, does<br>
> pdns need to start with all backends running initially ?<br>
<br>
</div>PowerDNS needs all backends running, just not initially.<br>
<div class="im"><br>
> Questions 2 : Will pdns attempt to reconnect to mysql backend that was temp<br>
> out of service?<br>
<br>
</div>Right now, PowerDNS expects all configured backends to be stable. The OpenDBX<br>
backend appears to support some form of failover, you might want to look at it. Note<br>
that it does not support DNSSEC.<br>
<br>
Additionally, there is work in progress on a 'nest' backend that allows creating a hierarchy<br>
of backends with support for specific backends in that hierarchy being down. Code at<br>
<a href="https://github.com/habbie/powerdns/tree/gmysql-nest" target="_blank">https://github.com/habbie/powerdns/tree/gmysql-nest</a><br>
<br>
Kind regards,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Peter van Dijk<br>
Netherlabs Computer Consulting BV - <a href="http://www.netherlabs.nl/" target="_blank">http://www.netherlabs.nl/</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.com</a><br>
<a href="http://mailman.powerdns.com/mailman/listinfo/pdns-users" target="_blank">http://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
</div></div></blockquote></div><br>