Hello, Thanks. It worked. On Sat, Jun 22, 2019 at 4:21 PM Jeremy Stanley <fungi@yuggoth.org> wrote:
I'm running Rocky and as backend for designate I have powerdns.
Whenever I try to add a TXT record for DKIM, the API returns that the specified record is not a TXT record.
It seems that is due to the length of the record It has a maxim a 255
On 2019-06-22 15:11:15 +0300 (+0300), Ionut Biru wrote: limit.
How should I proceed in this case?
A single TXT value string can not exceed 255 bytes in length. This is fundamental to the IETF's specification for the domain name system and has little to do with either Designate or PowerDNS. DKIM however takes into account that you may have keys whose representation exceeds the limits of a single string, and allows for splitting the key into additional parts:
https://tools.ietf.org/html/rfc6376#section-3.6.2.2
I would try adding a space somewhere in the middle of the "p" field so that it is broken up into two shorter strings each no longer than 255 characters. -- Jeremy Stanley
-- Ionut Biru - https://fleio.com