Skip to content

Instantly share code, notes, and snippets.

Last active Jan 31, 2021
What would you like to do?
DNS w/ reasonable privacy & ad-blocking
# 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 and pointing to the DNS service offered by LibreOps RadicalDNS
# Admin-interface at
# Use for DoH/DoT to achieve reasonable privacy over the wire
docker run -d --name pihole \
-e ServerIP= \
-e WEBPASSWORD="mypihole" \
-e DNS1= \
-p 8082:80/tcp -p 53:53/tcp -p 53:53/udp \
pihole/pihole:v5.6-buster@sha256:6a633b5b2b4a9f343aa01101c89ebba36aa90003df0e379d2e702e0372ed9712 && \
networksetup -setdnsservers Wi-Fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment