1.2 KiB
1.2 KiB
Pi-hole and AdGuard Home Chained DNS
This directory contains the docker-compose.yml for running a chained DNS setup with Pi-hole and AdGuard Home. Both services utilize network_mode: host, making this stack suitable for standalone deployment on a dedicated host.
Running with Podman Compose
To run this stack using podman-compose:
- Navigate to this directory:
cd optimized/standalone/Pihole_Adguard - Ensure you have replaced placeholder values like
WEBPASSWORDwith your actual secure password. - Ensure the necessary host directories for volumes (
pihole_etc,pihole_dnsmasq,adguard_conf,adguard_work,adguard_certs) exist or create them. - Start the services:
podman-compose up -d
Notes
- This setup provides advanced DNS features, including ad-blocking (Pi-hole) and encrypted DNS (AdGuard Home).
network_mode: hostis crucial for both services to integrate seamlessly with your host's network and act as primary DNS resolvers.- Careful configuration of upstream DNS in AdGuard Home (pointing to Pi-hole) is required post-installation.
- Ensure the volume bind mounts are pointing to correct and persistent locations on your host.