Pi Hole
For a while I was running PiHole on a raspberry pi64.
Installed docker, docker-compose, git
Configured running raspberry pi with docker
https://github.com/pi-hole/docker-pi-hole#readme
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| version: "3"
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
- "80:80/tcp"
environment:
TZ: 'America/Denver'
PIHOLE_DNS_: 127.0.0.1#5053
TEMPERATUREUNIT: f
DNSSEC: 'true'
ADMIN_EMAIL:
# WEBPASSWORD: 'set a secure password here or it will be random'
# Volumes store your data between container upgrades
volumes:
- './etc-pihole:/etc/pihole'
- './etc-dnsmasq.d:/etc/dnsmasq.d'
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
cap_add:
- NET_ADMIN # Recommended but not required (DHCP needs NET_ADMIN)
restart: unless-stopped
|
Configured piHole with DoH filtering DNS through Cloudflare (1.1.1.2)
DNS cache - Pi-hole documentation
Update the Ad Lists based on recommendations
Blocklist Collection ¦ Firebog
Add SSH for local hosts
Securing DNS across all of my devices with Pi-Hole + DNS-over-HTTPS + 1.1.1.1