Skip to content

nabbi/docker-bind9-pihole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker :: Pi-Hole and Bind9

Docker Compose integrating Pi-Hole, ISC Bind9, and BIND ad blocker (forked from Trellmor)

usually, you do not need both RPZ and PiHole filtering, this deployment allows for migration strategies or other complex deployments.

Overview

The Pi-Hole container forwards to Bind9 container which performs recursions, authoritative, forwarding, rpz, etc.

Usage

Pi-Hole WebUI Password

Define your default password for Pi-Hole in file 'secret_webpw.txt'

Local Configurations

The containers need to be started to populate the volumes with initial system configurations.

docker-compose pull
docker-compose up -d

Modify the local configurations tailored to your deployment, then run the script to copy those files into the volumes. This creates a temporary container to interact with the docker volumes.

cd local
./update-configs.sh

Restart the containers to force loading with your updated configurations.

docker-compose restart

Cron

An example crontab is provided to be installed on the docker host, it starts the adblock container which writes its updated zone file into the docker volume, then restarts the bind9 container.

More info

About

Docker Compose with Bind9 RPZ and PiHole

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages