Tor browser is leaking my Country

I use DuckDuckGo on the Tor browser, and my search results include content specific to my country. I’m from a non-English speaking country, and the results even show content in my local language. I don’t think DDG would recommended the content to anyone on the country of my exit node. I also tested this with YouTube, and the same thing happened there.

Is DuckDuckGo and YouTube on Tor able to know my location, maybe due to a DNS leak or something? I’m using NextDNS on Windows.

1 Like

What is your language 1. in the browser and 2 that you say you are seeing? The browser will request a default set of languages for web content

You can open the console and type navigator.languages

Tor Browser ships with 40+ language options. Depending on your answers, this is likely to be just duckduckgo returning what you asked for

1 Like

The browser language is set to English, and the content I am seeing is in English but also includes my local language. A completely random example, the Japanese word “こんにちは” can be written in English as “konnichiwa.”

I tried running the command you provided and it returned the same result as yours

Array [ "en-US", "en" ]
​
0: "en-US"
​
1: "en"
​
length: 2
​
<prototype>: Array []

btw, I also checked YouTube’s settings, and by default, the location is already set to the location of my exit node.

1 Like

It’s up to each website to determine the language - I know that google search can/does use the IP address (using Firefox for example on my laptop: the browser is en-US, the operating system is en-GB, the browser locale is en-GB and yet when I was in Portugal, I got entirely Portuguese results). Other websites will use the languages in the HTTP Header (which matches navigator.languages)

I seriously doubt DDG is getting your real OS language or locale, or your real IP address. Maybe your exit node was in Japan? Maybe what your were searching for relates to Japanese culture/history and it provided those regardless. IDK for sure, because there’s too little to go on and IANAE on networking

1 Like

it sounds like you actually got English results but it also provided some Japanese words. this makes sense to me with the above sentence

1 Like

I guess that’s because of your Portuguese IP, but in my case, I was on Tor with the Netherlands as the exit node, if I remember correctly.

The Japan example was just that—an example. I am not from Japan, and I don’t want to share my real example because I don’t want to expose my country. I hope you can understand. I was getting results related to my country/language. I remember checking to see whether I was connected to my country’s node or something, but that was not the case, I was connected to Netherlands.

Nope, I didn’t search for anything specific to any country.

1 Like

That was my point

Anyway, without proper information and STR this is impossible to diagnose

1 Like

I see. I wonder if DNS could be the problem. Since I have my DNS set to NextDNS on Windows, am I using it as my DNS resolver?

I have the same question for Android. I have set up MullvadDNS as my DNS on Windows using the instructions on their website. Will my Tor browser on Android use it as a DNS resolver, or will DNS resolution be handled by Tor as it should be?

1 Like

Will my Tor browser on Android use it as a DNS resolver, or will DNS resolution be handled by Tor as it should be?

Your Tor will use the exit node DNS resolution.

2 Likes

Thank you everyone👍

1 Like

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