routes me to Paypal.com Russia even though I am not in Russia


What happens:
If I set up as my DNS server, then when I open paypal.com it redirects me to the Russian version of the website (/ru/home) even though I am not in Russia.

What should happen:
Since I am located in Latvia, it should redirect me to the Latvian version of the website (/lv/home). In fact, this is exactly what happens if my DNS server is handled by Google or my ISP. I must note that when testing I set up the DNS at my laptop and used Incognito.

The question:
Does anyone have any idea why is behaving this way? This needs to be fixed. hides your origin, so PayPal is probably guessing based upon DNS resolver.
Which datacenter shows up in this test?

1 Like

Thanks for the quick response. It shows data center LED, which after a quick google search corresponds to an airport in Saint Petersburg in Russia. I am located in Riga, Latvia, so I should be handled by the Cloudflare’s data center in Riga, Latvia, right?

Here is the full output of /help:

Correct, that’s St. Petersburg. So that explains the PayPal thing.

As for why you’re not going to RIX, that’s up to your ISP:

1 Like

Alright, thanks - I will get in touch with my ISP (Lattelecom).

Just out of curiosity, could you please briefly describe how this ISP-to-DNS communication actually happens? e.g. how would an ISP actually decide/know the nearest (?) Cloudfare’s datacenter, that is, how would Lattelecom know that Cloudflare has a datacenter in Riga and that it should connect to it?

This is how Anycast works:

1 Like

Thanks, I understand how AnyCast works. That being said I do not understand what exactly my ISP should do differently to get through to the Cloudfare’s RIX data center? Is there some extra info it needs to pass to Cloudflare?

Oh…that’s all part of Peering, which is described in the first article I linked to. Your ISP would have to track down why they route away from the physically closest datacenter.

Here’s another good tool to see which Cloudflare datacenter your ISP routes you to:


I missed the first article about Peering, sorry about that. Now everything is crystal clear. Thanks for the other tool as well - it shows Russia all over the place :slight_smile: Thanks - I’ll get in touch with my ISP about this!

1 Like