It is impossible to add a long TXT entry

Bug #2027692 reported by zilti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Expired
Undecided
Unassigned

Bug Description

This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:

- [X] This doc is inaccurate in this way: The workaround to "construct a TXT record that exceeds the 255-octet maximum length of a character-string" given in the documentation does not work.
- [ ] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output.

If you have a troubleshooting or support issue, use the following resources:

 - The mailing list: https://lists.openstack.org
 - IRC: 'openstack' channel on OFTC

-----------------------------------
Release: 16.1.0.dev72 on 2021-10-20 11:48:18
SHA: 963751f2b403c3e9a73008ac62854ed3d3758247
Source: https://opendev.org/openstack/designate/src/doc/source/user/manage-recordsets.rst
URL: https://docs.openstack.org/designate/latest/user/manage-recordsets.html

Revision history for this message
Michael Johnson (johnsom) wrote :
Download full text (8.8 KiB)

Can you provide more information such as the version of Designate you are using, the command line you used to create the record, etc.

Note, you need to be careful that you aren't using characters un-escaped that are being interpreted by your shell.

Here is what worked correctly for me:

$ openstack recordset create --type TXT --record '"pENnXXCDU8VzyQZBy8Lkg8i8xOnG4R6FcTiRH9LTMS4GhASEcd3JilmjaQyjSyKPRqzxmYFP9VLoGZF0EyMijdXnC5lXha5hRNbJmiPbukZrtqqL2v6cumK6XT3RDly92MBpd2QyCxgHf3S6pn1dykwW2VUCu7pNZPtQXbONQAUxUGoK2rTx6fS0hxDgmfnL6JfKeYmDbqcwZsyHCm" "piafanPQv6WK7gdQ27YC11I7Hp1FnC9UY6nC5IisRUaHVf5CnuSleyswL05hmKOgqdV1sqtC4koT6FmLhSQIrKbgFZUx5MOewzIOofUrKvUCaTbXhTxPRzMvZVwU5jyG7w1BUgdBwg6YRjG0i33sEoUpEnMg6ZXQaxXZlWFz76SuGxamdpZglh7XisJDaiBxx23SGFHB"' example.com. _domainkey
+-------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+-------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| action | CREATE |
| created_at | 2023-07-14T00:13:40.000000 |
| description | None ...

Read more...

Changed in designate:
status: New → Incomplete
Revision history for this message
zilti (dziltener) wrote :

Yes, the following is what I am running:

openstack recordset create --type TXT --record '"v=DKIM1; t=s;p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4LGnxmlCXTNzKVtQw54d+SlAhroC156a2/NggZopQKqRKijW7T6exPtCzY6pLOBYhiV8mx5zsMFbDYgdzH/gXyFEp4Q2lNwwI4OdRo3WH4GY1m3l6on4KLxYtfJUtVowrsQgaJrU7+7fCSBEEJRp" "N/AlX3fb9/Qw8SQy6UxOCaDi11ZBTxnil1Y6JMfAAZdnelGiO+W28AGe+GVUxz3FneCjM1g0JOlR8z8z9MebMToIryQJuZV0Q///GgJrMX8BLR0IvcMarAflrIyCCN6MmyDtc0XPmGsj4ZMrTtKqVWiVQbUMI/RMNjurKVqgpEK4Lk4JB11299zlFF3urv2FsQIDAQAB"' lyrion.ch. 20230702._domainkey

The response to that is:

Provided object is not valid. Got a InvalidObject error with message Quotation marks should be escaped with backslash.

What version my hoster is running I do not know; my best guess due to what they are linking to on their documentation page is Victoria.

Revision history for this message
Michael Johnson (johnsom) wrote :

I cut/pasted your command line exactly and it runs for me.

You will need Designate Wallaby or newer for the long TXT fields. I suspect your cloud is running an older version.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Designate because there has been no activity for 60 days.]

Changed in designate:
status: Incomplete → Expired
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.