Since moving over to using this library for some of our DNS handling, we've notice that google site verification is now broken for new domains.
This appears to be due to the fact that the above mentioned method is splitting the TXT records at 40 characters, presumably just for easier readability.
This results in split strings in the resulting record. From what I can gather, they should be concat'ing these strings together, but that does not appear to be happening.
After further reading, I found RFC4408, section 3.1.3. However, this specific RFC only related to SPF-type TXT records, and not general validation records such as the one used for Google Site Verification.
I've illustrated the issue below:
$ dig franklaszlo.com txt +short
"google-site-verification=FNI0xUTGqcdI8YX" "xaPf_3mj33BYnNtY23ddD2Zl1ECc"
$ grep -C2 site-verification zones/f/franklaszlo.com
; TXT RECORDS
@ 300 IN TXT (
"google-site-verification=FNI0xUTGqcdI8YX"
"xaPf_3mj33BYnNtY23ddD2Zl1ECc"
)
![Screenshot 2023-07-21 at 10 31 59 AM](https://private-user-images.githubusercontent.com/1486486/255207925-e85ee937-d895-4f77-99b0-05b39e670d51.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMyMzc4MzYsIm5iZiI6MTcyMzIzNzUzNiwicGF0aCI6Ii8xNDg2NDg2LzI1NTIwNzkyNS1lODVlZTkzNy1kODk1LTRmNzctOTliMC0wNWIzOWU2NzBkNTEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MDlUMjEwNTM2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjJhOGE3NjJlMWU1ZTRmN2ZlMjU1YWQ2OTAwOWVhM2E2ZTZlNGRlZjQ4Yzg1NjVmZDM0MjljOGY5MDQxNjNmNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.5wbTyS05-Q4lxprVnMZtiL9GoJUUe69g2iFZOnIf1OE)
I'm not sure what the best fix here is, other than changing the split to be the max, 255 characters, for TXT records.
Let me know if you need further information