dbispconfig.dns_rr.data too short for 2048bit DKIM key
Hi,
When taking online our brand-new ScrolloutF1 mail gateway i notced that field for TXT-type data is too short for handling 2048bit key lengths. Database field is only 255 characters when typical key in ScrolloutF1 is around 400 chars.
While one can manually modify key generation in ScrolloutF1, other companies could be affect this also due Goole, Yahoo etc. moved to 2048bit back in 2012. For example here in Finland it is fairly common to run MX on Google, but DNS in Finland.
VARCHAR-field can be 65,535 in MySQL 5.0.3 and later. I suggest for fix that data-field and related stuff is increased to around 500. I did quick fix to my ISPConfig-cluster by modifying tables directly, but also seems like replication do not work correctly, it truncated data-record (could be that i did not give enough time to replicate.) I could not use qui tp save full lenght key, had to insert with command line and fool aoround to increase serial.
Also there is strong hints that BIND do no allow longer than 255 char records in TXT, which is why DKIM-record should be properly split to 255 char rows, which it did not do with my quick fix.