How to use rr.edata in MyDns for DKIM? -


i have got mydns server v1.2.8.31 under postgresql , want write txt record dkim database without using admin.php , other tools.

how use rr.edata , rr.edatakey in mydns dkim? psql queries should correct insert data?

how enable rr.edata in mydns , should rr.data field?

you should first activate option in mydns.conf :

extended-data-support = yes

after can recreate database structure :

mydns --create-tables | mysql -u root -p mydns

if have data, adjust mysql scheme :

alter table rr add column edata blob;

alter table rr add column edatakey char(32) default null;

to use directly in code, should detect if data longer data field, if it's case should split data : first split going classic data field, second going the edata field(which blob can long), should md5sum edata put in edatakey.

if needed can consult code on admin.php provided in contrib repository of source package.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -