In California, from Xfinity Cable, Google’s DNS consistently has the lowest latency.

From AT&T fiber, Cloudflare’s 1.1.1.1 is always the fastest, though Quad9 is a very close second.

It’s interesting that it’s different from different ISPs.

Cloudflare probably has a server on AT&Ts network, but not on Xfinity. Google is probably the opposite.

Yup, I get 1-3ms to 1.1.1.1 and 18-20ms to Google from a semi-local fiber provider.

Definitely blew my mind coming from the ~20ms DOCSIS adds.

https://en.wikipedia.org/wiki/Anycast#Domain_Name_System

  --- 8.8.8.8 ping statistics ---
  10 packets transmitted, 10 received, 0% packet loss, time 9015ms
  rtt min/avg/max/mdev = 23.666/25.241/27.628/1.022 ms

  --- 9.9.9.9 ping statistics ---
  10 packets transmitted, 10 received, 0% packet loss, time 9015ms
  rtt min/avg/max/mdev = 23.811/25.256/27.003/1.024 ms

  --- 1.1.1.1 ping statistics ---
  10 packets transmitted, 10 received, 0% packet loss, time 9014ms
  rtt min/avg/max/mdev = 13.216/14.553/15.835/0.739 ms
Of course, these ICMP reply times are apples-to-oranges comparisons. With the proper tooling, you should be able to measure DNS reply latencies.