Long TXT records don't get splitted

Bug #1771849 reported by Andre Schild
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ldap2zone (Ubuntu)
New
Undecided
Unassigned

Bug Description

DKIM TXT records can have a length of more than 255 characters.

The ldap2dns utility does create one very long line with all the content in it.

google._domainkey TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkqh......."

Bind9 is restricting the entries on one line to 255 characterts, so it needs to be split up in multiple lines with max 255 characters.

A correct output would be:

google._domainkey TXT ("v=DKIM1; k=rsa; p=MIIBIjANB.....CsA793sVyehx"
                                         "Sy7XE21Mv+gD1VgKmOXvSrDLMl1.....iUbMAEQcnRrN"
                                         "5omtqs5fVl4mZZ23yr/1nHryV5k.....duNRwL5+char"
                                         "0Zd0ft17ekhxqeG85zdPvyk7v1k.....Y1BaFisnb/u6"
                                         "mxJQEVOwIDAQAB")

https://serverfault.com/questions/571720/publishing-long-domain-key-records-in-bind9?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.