

This is a service provided by some DNS hosts, with their own special subdomains, and is not universal. They may also require slightly different options.
Other options include:
-
Google (query for txt record):
@ns1.google.com o-o.myaddr.l.google.com -
Akaimai (query for txt record):
@ns1-1.akamaitech.net whoami.akamai.net -
Cloudflare:
@1.1.1.1 whoami.cloudflare -
Cisco (there are four, as far as can tell):
@resolver[1-4].opendns.com myip.opendns.com
…and likely others.
My fuzzy memory wants to say it uses/is based atop UDP, and makes it more reliable.
Just checked before posting, and that seems to be the case on a cursory glance of its wiki article: https://en.wikipedia.org/wiki/QUIC
[EDIT] Should have read the article first—and it does mention UDP by the end.