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