Once in a while I look at what Pentesters are doing and their training videos on youtube. Let me tell you something right quick. TOR or proxy chains DO NOT protect you local IP address/your machines IP, which is YOUR PHYSICAL LOCATION. Your DNS, YES, not your local IP.
A website or link provides scripts for you computer/phone/whatever to run and render the page. UNDERSTAND THAT. It's your system running the scripts, NOT THE WEBPAGE. Soooo .......read on.
When you visit a page/link/URL, it doesn't matter if you're running TOR. You can run a DNS leak test that comes back showing you in Madagascar, but if the site has the proper logging script, which most do, your LOCAL IP IS VISIBLE AND LOGGED.
Pentesters shouldn't be telling people that they're "anonymous" using tor/proxy chain overlays. You are not!
A VPN provides the masked IP. DNS is another story for another time.
/END