DNS addressing to a very distant server

What is the name of the domain?

What is the issue you’re encountering

Hello, I have a problem regarding Cloudflare Public DNS, when I connect to DNS 1.1.1.1 the addressing server is located far away from where I am, I would like to know if it is a problem of my ISP or Cloudflare. My current ISP is Inwi Maroc, and my city is Tangier in Morocco, and I get routed to a server in Marseilles in France more than 1300 km away, although there are closer servers such as; Casablanca, Madrid, Lisbon. I have tried different DNS configurations: DoH, DoT, 1.1.1.1, But the problem persists, I have also done some DNS speed tests, and comparing other DNS operators that are redirected maybe to Lisbon or Madrid getting latencies between 45-50 ms, 1.1.1.1 gets latencies sometimes over 100 ms.

What feature, service or problem is this related to?

Nameservers

Screenshot of the error

Cloudflare nameservers are anycast, so they have the same IP address in every data centre.

Your ISP decides which location you connect to.

1 Like

okay, thank you for the information

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.