Get the latest tech news

Images over DNS


What's the limit of what can be in a TXT record? Some places say 255 bytes. They are wrong.

I set out to demonstrate exactly that, by using Google Public DNS's JSON API and then serving large TXT responses over TCP, from a custom server. Because the web version uses Google's JSON resolver we know it doesn't have problems querying very large TXT records, however your local recursor may not support this. It would be possible to increase this and therefore get caching from the recursors, a bit like a free distributed CDN (although I suspect if someone actually did this they would adaptively limit TTLs, if something like that isn't already done).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of DNS

DNS

Photo of images

images

Related news:

News photo

Meta to Pay $140 Million to Use Black Forest Labs AI for Images

News photo

My Own DNS Server at Home – Part 1: IPv4

News photo

This Company Turns Dashcams into ‘Virtual CCTV Cameras.’ Then Hackers Got In | A hacker has compromised Nexar, which turns peoples' cars into "virtual CCTV cameras" that organizations can then buy images from.