2 ms·
DNS predates REST, JSON, and HTTP. DNS gets great utility out of the UDP protocol, which would be lost by using TCP. Parsing the JSON would ruin DNS server perf
by db48x 9y ago
DNS predates REST, JSON, and HTTP. DNS gets great utility out of the UDP protocol, which would be lost by using TCP. Parsing the JSON would ruin DNS server performance (a DNS server can answer hundreds of queries in the time it takes to parse one JSON message).
- ggm 9y agoTruncate forces TCP. DOH or DNS over https is in standards process as is DNS over TLS and DNS over quic