Google latency problem

Hello there!
I have been having a little issue with the 1.1.1.1 DNS resolver.
The thing is that when resolving any Google linked website (google.com, gmail.com, youtube.com,…) the response IP I get points to a Google server really far away from me (I live in Slovakia and the IP is in Brazil) resulting in a high latency and slow loading times.
I don’t have this issue when using other DNS resolver (tried 8.8.8.8 and my ISP’s DNS) so I will switch to another DNS server until this issue persists.

Example when using 1.1.1.1 DNS (responds with server in Brazil with ~215ms latency)

C:\Users\simon>nslookup google.com
Server:  one.one.one.one
Address:  1.1.1.1

Non-authoritative answer:
Name:    google.com
Addresses:  2800:3f0:4004:803::200e
          142.250.78.238


C:\Users\simon>ping 142.250.78.238

Pinging 142.250.78.238 with 32 bytes of data:
Reply from 142.250.78.238: bytes=32 time=216ms TTL=116
Reply from 142.250.78.238: bytes=32 time=215ms TTL=116
Reply from 142.250.78.238: bytes=32 time=215ms TTL=116
Reply from 142.250.78.238: bytes=32 time=215ms TTL=116

Ping statistics for 142.250.78.238:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 215ms, Maximum = 216ms, Average = 215ms

.
.
Example when using 8.8.8.8 DNS (responds with server in Czechia with ~15ms latency)

C:\Users\simon>nslookup google.com 8.8.8.8
Server:  dns.google
Address:  8.8.8.8

Non-authoritative answer:
Name:    google.com
Addresses:  2a00:1450:4014:80f::200e
          142.251.36.110


C:\Users\simon>ping 142.251.36.110

Pinging 142.251.36.110 with 32 bytes of data:
Reply from 142.251.36.110: bytes=32 time=15ms TTL=117
Reply from 142.251.36.110: bytes=32 time=15ms TTL=117
Reply from 142.251.36.110: bytes=32 time=15ms TTL=117
Reply from 142.251.36.110: bytes=32 time=14ms TTL=117

Ping statistics for 142.251.36.110:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 14ms, Maximum = 15ms, Average = 14ms

Hi,

Thanks for reporting this problem. Can you collect a few more diagnostics information as documented in Have problems with 1.1.1.1? *Read Me First* to help us debug this issues.

Thanks.

Connection information (the forum didn’t allow me to post a link):

https://cloudflare-dns.com/help/#eyJpc0NmIjoiWWVzIiwiaXNEb3QiOiJObyIsImlzRG9oIjoiTm8iLCJyZXNvbHZlcklwLTEuMS4xLjEiOiJZZXMiLCJyZXNvbHZlcklwLTEuMC4wLjEiOiJZZXMiLCJyZXNvbHZlcklwLTI2MDY6NDcwMDo0NzAwOjoxMTExIjoiTm8iLCJyZXNvbHZlcklwLTI2MDY6NDcwMDo0NzAwOjoxMDAxIjoiTm8iLCJkYXRhY2VudGVyTG9jYXRpb24iOiJCVFMiLCJpc1dhcnAiOiJObyIsImlzcE5hbWUiOiJDbG91ZGZsYXJlIiwiaXNwQXNuIjoiMTMzMzUifQ==

.
Traceroutes to Cloudflare DNS:

Tracing route to one.one.one.one [1.1.1.1]
over a maximum of 30 hops:

  1    <1 ms    <1 ms    <1 ms  10.20.0.1
  2     9 ms     9 ms     8 ms  192.0.0.1
  3     9 ms    10 ms    10 ms  213-151-193-61.static.orange.sk [213.151.193.61]
  4    10 ms    10 ms    10 ms  nixsk1.cloudflare.com [194.30.187.171]
  5     9 ms     9 ms     9 ms  one.one.one.one [1.1.1.1]

Trace complete.
Tracing route to one.one.one.one [1.0.0.1]
over a maximum of 30 hops:

  1    <1 ms    <1 ms    <1 ms  10.20.0.1
  2     9 ms     9 ms     8 ms  192.0.0.1
  3    10 ms    10 ms    10 ms  213-151-193-61.static.orange.sk [213.151.193.61]
  4    10 ms    10 ms    21 ms  nixsk1.cloudflare.com [194.30.187.171]
  5     9 ms     9 ms     9 ms  one.one.one.one [1.0.0.1]

Trace complete.

Thanks for adding the diagnostics info. We’ve identified the root cause, it is because our egress IP being used in the data center answers your DNS query is mis-labeled as in Brazil in same IP geo-location databases. We are working on getting it fixed.