Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Working from home

Alex licentiapoetica

:octocat:
Working from home
  • Germany
View GitHub Profile
@licentiapoetica
licentiapoetica / gist:bcb89e222ceae1f866d7cba09fb32180
Created October 9, 2021 18:52
DNS over TLS using PiHole on a remote server
View gist:bcb89e222ceae1f866d7cba09fb32180
# DNS over TLS using PiHole on a remote server
This project is something I wanted to realize for a long time, ever since I became more privacy concious I had the urge to degoogle all my devices and so there was no way around degoogling my `One Plus 6T`
The rom of choice was `LineageOS 17.1 official` and since I don't think it's a good idea to root a mobile device without actually needing it I was wondering how to get my PiHole working on my Android.
There are actually 3 ways that I know of that do **NOT** require root access
1. There are several apps that make use of the VPN interface for Android to change the DNS server so you can use a modified hosts list and block ads. For example: [personalDNSfilter on F-Droid](https://f-droid.org/en/packages/dnsfilter.android/) or [AdAway on F-Droid](https://f-droid.org/en/packages/org.adaway/)
<small>**With this solution you cannot have another VPN connection active!**</small>