How can i run several PowerDNS backends at once?
- Keywords:
- launch backends
- Last updated by:
- Stefan Schmidt
As described in http://
Those backends will be exhausted for answers to your DNS query in the order in which they are given in the launch statement.
This does mean that if your first backend in line can answer the question, it will and if only the fourth in line can answer the question you will have the delay of the looping through the first three backends until PowerDNS will send out the answer.
It is therefore imperative that you make sure that your backends do answer _fast_ _enough_ where fast enough would be receiving and answer in <1s should be enough to be compatible with most recursive nameservers, however faster is better of course.
You can have a different prefix in front of your configuration options to the backend by giving it a name.
Here we go with an example pdns.conf configuration:
launch=
gmysql-
gmysql-
gmysql-
gmysql-
gmysql-
gmysql-
gmysql-
gmysql-
pipe-third-
pipe-third-
bind-fourth-