Simple implementation of unbound to work with Pi-Hole. Both in separate Docker containers.
1.0K
Simple implementation of unbound to work with Pi-Hole. Both in separate Docker containers.
If the Pi-hole container is running on a network other than the default. If not, this is not necessary.
git clone https://github.com/jsanchez0x/unbound_container.git
docker build --rm --tag jsanchez0x/unbound_container:latest unbound_container
docker run -d \
--name unbound \
-p 5335:5335/tcp -p 5335:5335/udp \
--restart=unless-stopped \
--cap-add=NET_ADMIN \
jsanchez0x/unbound_container:latest
Assuming that the network name is called pihole-network and the IP 172.18.0.4 is not used.
docker run -d \
--name unbound \
-p 5335:5335/tcp -p 5335:5335/udp \
--net pihole-network --ip 172.18.0.4 \
--restart=unless-stopped \
--cap-add=NET_ADMIN \
jsanchez0x/unbound_container:latest
Re-create every 6 months to update the root servers. Necessary to download updated dns-root-data.
Content type
Image
Digest
sha256:dcc8fdf39…
Size
40.9 MB
Last updated
about 3 years ago
docker pull jsanchez0x/unbound_container