[Pdns-users] PDNS + MySQL results not un-escaped?

Michael pdns at nettrust.co.nz
Wed Jan 6 08:18:39 UTC 2010


On Wed, 06 Jan 2010 19:58:33 you wrote:
> On Wed, Jan 06, 2010 at 03:28:32PM +1300, Michael wrote:
> > First time poster, long time SysAdmin :-) intending to convert from Bind.
>
> Nice ;-)
>
> > I have just noticed that PDNS with GMySQL back end does not seem to
> > un-escape result records.
>
> Can you elaborate a bit what you mean by this?
>
> For example, can you show what is in your database for such a TXT record?
> And what ends up in your BIND slave?

When I enter a DKIM or Domain Keys record, which requires use of ';', the 
records on the secondary name server have this character escaped with '\', as 
to be expected.

As this character has a special meaning in MySQL I would think the simple 
answer would be to unescape it prior to returning the RR.




More information about the Pdns-users mailing list