Pi-hole v6 mit Unbound (Docker Compose)
Pi-hole wurde vor kurzem von Version 5 auf v6 gehievt. Vor dem Update muss man ein paar Sachen in der docker-compose.yml anpassen. Das ist in den Docs ganz gut beschrieben. Mein yaml-Dings für Pihole und Unbound sieht momentan so aus:
services:
pihole:
depends_on:
- unbound
image: pihole/pihole:latest
container_name: pihole
hostname: dns1
ports:
- 53:53/tcp
- 53:53/udp
- 8080:80/tcp
environment:
TZ: Europe/Berlin
FTLCONF_webserver_api_password: 'super-strong-password'
FTLCONF_dns_upstreams: 'unbound'
FTLCONF_dns_revServers: 'true,192.168.x.0/16,192.168.x.1,fritz.box'
volumes:
- ./pihole_etc:/etc/pihole
- ./pihole_dnsmasq:/etc/dnsmasq.d
restart: unless-stopped
unbound:
container_name: unbound
restart: unless-stopped
image: klutchell/unbound
networks:
default:
ipv4_address: 172.x.0.53
networks:
default:
ipam:
config:
- subnet: 172.x.0.0/24
Läuft alles sehr geschmeidig und voll fluffig im heimischen Internetz.