The cap for record size is 64KB, but you can have an arbitrary number of records, so larger images should be possible by combining multiple TXT record responses into one.
https://github.com/m3047/rear_view_rpz/blob/b17cf943ccd7498d...
[1]: https://www.netmeister.org/blog/dns-size.html#:~:text=65536%20bytes%20DNS%20payload%20%2B%202%20bytes%20size%20%3D%2065538%20bytes
[2]: https://news.ycombinator.com/item?id=39257147It's pretty cool how this tech has evolved. UDP has become so much more reliable that you can even do SSL over UDP, with a complex mechanism meant to account for dropped packets during the handshake process.
You could even do this over UDP if you really wanted, just merging a bunch of 1200-byte records together