[Pdns-users] Multiple database servers

Richard McLean richard at golivehost.com
Mon Mar 7 12:36:39 UTC 2005


At 11:42 AM +0100 7/3/05, Norbert Sendetzky wrote:
>That's neither an easy nor an elegant solution and more error-prone.
>Personally I wouldn't recommend doing it this way because it would only be a
>workaround for something the pdns backend code should do.


I think "should" is a bit strong, but I agree that it would be a great feature.
We run 4 DNS servers, all with pdns, MySQL, and exactly the same data
in the DBs. Why not take advantage of that fact? pdns only needs to read
the data, so that takes most synching problems out of the equation (the
cache might still be an issue I guess, but with all the data being the same
anyway, maybe not).

It would be great if we could have 2 or more databases in the config,
and a simple "If db-a fails to connect in x seconds, try db-b". I don't think
that pdns either needs to know why or how it failed, just that it failed.

-- 

cheers,
Richard


More information about the Pdns-users mailing list