[Pdns-users] zone2sql not accepting lowercase qtype's

Martin List-Petersen martin at list-petersen.se
Tue Dec 9 18:27:47 UTC 2003


Hi Bert,

can i have you to add something like the attached (it's against the
2.9.12 release) to pdns-cvs ?

It basically just converts the qtype (A, CNAME, PTR, etc.) string to
uppercase, before checking if it is valid and then of course also
printing it in uppercase on the sql output.

When i was migrating the bind 9 configuration files of a Sun/Cobalt Raq
server i ran into the problem that the qtype's here all are lowercase
and zone2sql simply refused those.

This is tested, works and fixes it. 

Regards,
Martin List-Petersen
martin at list-petersen dot se
Somebody who never coded c++ before.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zone2sql_uppercase.patch
Type: text/x-patch
Size: 817 bytes
Desc: not available
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20031209/674556a2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20031209/674556a2/attachment.sig>


More information about the Pdns-users mailing list