From ef2df05744838481aaec880bffe19376d5e22813 Mon Sep 17 00:00:00 2001 From: s@aa9ff9ce06b08acfd2a93ebd342ce6879430fbdd Date: Sun, 17 Jun 2018 16:22:18 +0000 Subject: New post - DNS - Support for Multiline TXT records. --- .../DNS_-_Support_for_Multiline_TXT_records.mdwn | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/forum/DNS_-_Support_for_Multiline_TXT_records.mdwn diff --git a/doc/forum/DNS_-_Support_for_Multiline_TXT_records.mdwn b/doc/forum/DNS_-_Support_for_Multiline_TXT_records.mdwn new file mode 100644 index 00000000..69a62b59 --- /dev/null +++ b/doc/forum/DNS_-_Support_for_Multiline_TXT_records.mdwn @@ -0,0 +1,19 @@ +bind9 has a limit on the number of characters in a single line TXT record. I was unable to provision the DKIM TXT record using propellor due to this limit. + +I added a new MTXT record type to `Propellor.Types.DNS.Record` ([patch][1]). + +MTXT creates a multiline TXT record. It splits the record's text (say +"long string...\n...xyz") at `'\n'` and creates a TXT record of the +form: + + + domain IN TXT ( "long string..." + "...xyz" ) + + +I'm [currently using this recipe][2] to provision the DKIM TXT record. + +I want to know if there is a better way to do this without having to add the MTXT record type? + +[1]: https://ricketyspace.net/file/0001-add-MTXT-record-type-to-Propellor.Types.DNS.Record.patch +[2]: https://git.ricketyspace.net/propellor/tree/config.hs#n722 -- cgit v1.2.3