No description
Find a file
chronicblondiee 2bd88b7d1b
comment to allow unbound port forwarding (#54)
* comment to allow unbound port forwarding

Add a comment to allow the unbound service to be exposed to the local server could be useful for troubleshooting purposes or initial set up

* Update docker-compose.yaml

Remove duplicate commented line

Co-authored-by: Chris Crowe <425808+chriscrowe@users.noreply.github.com>
2021-05-27 19:33:44 -07:00
one-container comment to allow unbound port forwarding (#54) 2021-05-27 19:33:44 -07:00
two-container Single container support (#11) 2020-12-31 12:23:33 -08:00
.gitignore Adding script for building and pushing new images 2020-12-31 12:39:33 -08:00
README.md Update README.md 2021-03-20 16:36:29 -07:00

Pi-Hole + Unbound on Docker

Use Docker to run Pi-Hole with an upstream Unbound resolver.

This repo has 2 different docker-compose configs-- choose your favorite. The two-container config may work better on Synology due to usage of macvlan networking which helps prevent port conflicts with the host.

  • one-container (new) - Install Unbound directly into the Pi-Hole container
    • This configuration contacts the DNS root servers directly, please read the Pi-Hole docs on Pi-hole as All-Around DNS Solution to understand what this means.
    • With this approach, we can also simply our networking since macvlan is no longer necessary.
  • two-container (legacy) - Use separate containers for Pi-Hole and Unbound
    • This configuration uses MatthewVance's unbound-docker container to implement encrypted DNS to third party DNS resolvers (eg Cloudflare). This is arguably less privacy-friendly since you're handing your DNS queries to those 3rd party providers.