Replies: 1 comment 1 reply
-
I'd welcome a PR that handles this. If possible, also include a test that make sure this work. Feel free to use that long TXT record you need to be handled in that test. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys, since I'm unable to report issues here, I'm trying this way.
TXT records sometimes can exceed 255 characters. We have some domain names in our portfolio that have SPF records that exceed this max limit.
If it's longer than 255 characters, the record gets split into multiple sections, as explained here: https://support.opensense.com/splitting-a-long-spf-txt-record
Currently this library doesn't seem to handle this, it just takes over the
" "
when getting the value of a TXT record.Solution seems to be pretty simple, use this line in
dns/src/Records/Record.php
Lines 109 to 112 in 83be2fa
If you're open to this idea, I'll see if I can send in a PR for this later today/tomorrow when I find some more time.
Beta Was this translation helpful? Give feedback.
All reactions