When I don't have a laptop with me, I sometimes do server admin stuff using my smartphone. It's a reasonably secure phone because it runs a hardened Android distribution called #GrapheneOS. Or so I thought. Shoddy apps can of course violate your security and privacy on any operating system.
As a matter of fact, I once set up a Mastodon server via SSH using my smartphone as a terminal. My terminal app of choice is @termux@fosstodon.org – it almost feels like Debian Gnu/Linux.
Today I found out that the #Termux developers do not care about their users' privacy: They put Google's DNS resolvers as defaults into their app and do tell their users about it. Which means that until today, Google learnt about each hostname I resolved in Termux, although I had configured my smartphone to use a different DNS resolver. The Termux developers were alerted to this bug ten years ago by @rugk@chaos.social but chose not to do anything about it.
Someone wrote a shell script to correct this. But it requires special permissions you can only grant via ADB. So I just used a text editor to replace Google's DNS resolvers with privacy-respecting ones gleaned from @kuketzblog@social.tchncs.de's recommendations in my first link: editor /data/data/com.termux/files/usr/etc/resolv.conf
#TIL #dnsleak #terminal #android #app #privacy
#dnsleak
2 posts · Last used 13d
DNS leak protection is a security feature in VPNs that forces all web browsing queries (DNS requests) through an encrypted VPN tunnel, preventing them from being exposed to your Internet Service Provider (ISP). It prevents hackers or ISPs from seeing your browsing history and location, ensuring your traffic stays private and secure. https://windows101tricks.com/what-is-dns-leak-protection/
What is DNS leak protection? It’s a VPN feature that keeps your DNS requests inside the encrypted VPN tunnel and away from your ISP’s DNS servers.
What is a DNS leak in VPN? It’s when your DNS queries escape the VPN tunnel and go to your ISP’s DNS servers, revealing the websites you visit.
How DNS leak protection works: It routes all DNS traffic through VPN DNS servers, blocks DNS outside the tunnel, and may use firewall rules and a kill switch.
How to test DNS leak in VPN: Connect to your VPN, visit a DNS leak test website, run a test, and check if the DNS servers match your VPN server location.
Does VPN prevent DNS leaks? Only if the VPN is designed with proper DNS leak protection and configured correctly.
@followers #VPN #DNS #security #Tech #privacy #DNSLeak
You've seen all posts

