You might be thinking of DNS-over-HTTPS (DoH) or DNS-over-TLS (DoT).
There's also DNSCurve.
https://en.wikipedia.org/wiki/DNSCurve
From what I remember, only DoT uses ECH
https://media.ccc.de/v/chaoscolloquium-1-dns-privacy-securit...
You can easily test this: dig @8.8.8.8 https pq.cloudflareresearch.com
You might be thinking of DNS-over-HTTPS (DoH) or DNS-over-TLS (DoT).
There's also DNSCurve.
https://en.wikipedia.org/wiki/DNSCurve