Last active
January 31, 2021 15:02
-
-
Save pmoust/e6cc296c2d23da2c91710f00f39cb10b to your computer and use it in GitHub Desktop.
DNS w/ reasonable privacy & ad-blocking
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DNS w/ (not so) reasonable privacy & ad-blocking | |
# Local-caching DNS via dockerd on xhyve/LinuxKit, for the default wifi interface on MacOSX, using | |
# Pi-hole 5.6 https://pi-hole.net/ and pointing to the DNS service offered by LibreOps RadicalDNS https://libreops.cc/radicaldns.html | |
# Admin-interface at http://127.0.0.1:8082/admin/ | |
# | |
# Use https://libredns.gr/ for DoH/DoT to achieve reasonable privacy over the wire | |
docker run -d --name pihole \ | |
-e ServerIP=127.0.0.1 \ | |
-e WEBPASSWORD="mypihole" \ | |
-e DNS1=88.198.92.222 \ | |
-p 8082:80/tcp -p 53:53/tcp -p 53:53/udp \ | |
pihole/pihole:v5.6-buster@sha256:6a633b5b2b4a9f343aa01101c89ebba36aa90003df0e379d2e702e0372ed9712 && \ | |
networksetup -setdnsservers Wi-Fi 127.0.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment