Why is it connecting me to a South African server instead of connecting me to the kenyan server for cloudflare.
When i use the 188.8.131.52 app on my phone and i do a dns leaktest on my phone it connects me to a kenya server.
Your phone carrier probably has better routing than your home ISP.
The thing that does not make sense is that i am connected to the same wifi with my phone!
That does make it more interesting.
On your phone app, are you using DNS over HTTP, or DNS over TLS?
How’s your Desktop configured to use 184.108.40.206? Regular DNS?
And, just to confirm, when you visit DNS Leaktest and it gives you the Hello (IP address). They’re the same IP address on your phone and computer?
On my phone i am using DNS over HTTPS.
On my desktop i put the dns setting in my adapter options, and also on my router.
Also when i visit the DNS Leaktest site i have the same IP on my phone and on my Desktop.
So Port 53 (DNS) gets routed to South Africa, but Port 443 (HTTPS) gets routed to Kenya. You could try another DNS service for your Desktop, like 220.127.116.11 or 18.104.22.168 and see where they go. (EDIT: Try 22.214.171.124)
Maybe your ISP can explain this, but we sure can’t.
That would be peculiar
@yashshah1282, whats the output of these pages?
Respectively of these commands on the command line?
nslookup -class=chaos -type=txt id.server 126.96.36.199 nslookup -class=chaos -type=txt id.server 188.8.131.52
When i use quad9 the dns leaktest connect tme to a server locally.
When i use google dns it routes me to Belgium server but it still has low ping compared 184.108.40.206.
The same thing happens in Colombia, it routes me to the United States and not in my country, thus rising more than 10ms to 53ms
So yeah, classic DNS goes via South Africa as @sdayman suggested. What about the other links I posted however?
So - as expected - HTTPS requests (including DoH) also go via South Africa.
Is there anything that can be done?
You could contact your ISP and clarify why they route it to South Africa instead of to the local datacentre.