[Pdns-dev] dnsparser.cc:simpleCompress()

Peter van Dijk peter.van.dijk at netherlabs.nl
Wed Jun 13 09:48:08 CEST 2012


Hello Johan,

On Jun 13, 2012, at 8:36 , Johan Ekenberg wrote:

> On Wednesday 13 June 2012, Johan Ekenberg wrote:
>> I was looking to duplicate pdnssec.cc:hashQNameWithSalt() as a MySQL
>> function/stored procedure. I want to put the hashed qname in
>> records.ordername directly from MySQL without running an external program
>> (ie pdnssec rectify-zone or hash-zone-record).
> 
> Which proves to be difficult without UDF:s, since there is no base32hex() 
> function in MySQL.


You may be able to find some inspiration in 
http://wiki.powerdns.com/trac/browser/trunk/pdns/modules/oraclebackend/schema.sql

Kind regards,
-- 
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/



More information about the Pdns-dev mailing list