randomly wondering: is there software that optimizes TCP connection latency by having some kinda two-stage DNS cache that keeps stale responses cached for optimistic TCP connection creation?

so when you are told to connect to hostname.tld:1234, you can immediately send a DNS query and optimistically start the TCP handshake with <ip from stale dns record>:1234 in parallel, but only actually send TCP data once you get a DNS response that matches the stale one?

do browsers do stuff like that?

0

If you have a fediverse account, you can quote this note from your own instance. Search https://infosec.exchange/users/jann/statuses/115361365364284997 on your instance and quote it. (Note that quoting is not supported in Mastodon.)