FM 2-03 Chapter 2 · Networking
DNS lookup
Query A, AAAA, MX, TXT, CAA and other records over DNS over HTTPS, with DNSSEC flag and TTLs.
Network Sends data to cloudflare-dns.com, dns.google: the name and record type you look up, to the one resolver you pick. Only when you press the button.
DNS over HTTPS (DoH) sends an ordinary DNS question inside an HTTPS request, so it works from a browser. The resolver you pick sees the name, the record type and your IP address. Nothing else is sent: no cookies, no referrer. Nothing is sent until you press Look up, and failed requests are not retried.