[Pdns-users] Seriious bug with PowerDNS and sql server dropping.

Eric Renfro psi-jack at myrddincd.com
Mon Sep 13 16:35:25 UTC 2004


Norbert Sendetzky wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Monday 13 September 2004 11:54, Eric Renfro wrote:
>  
>
>>If the PostgreSQL server PowerDNS is setup to connect to drops, reloads,
>>temporary loss of connection, etc, for whatever reason, PowerDNS looses
>>it's connection to the database, it stops completely. This is kind of a
>>fairly serious bug.
>>    
>>
>
>The behaviour is backend specific. Some backends implement connection failure
>recovery, others don't. I've done that for the ldap backend but I think that
>most of the sql backends don't do it if it isn't done already in the client
>library.
>
>The fix is to throw an exception if the connection is unavailable. The backend
>will then be recreated automatically by pdns.
>
>  
>
Hmm.. I see. But, I don't know how to do that. I'm not a C programmer at 
all.

Eric



More information about the Pdns-users mailing list