Sign inSign up

jsanchez0x/unbound_container

By jsanchez0x

Updated about 3 years ago

Simple implementation of unbound to work with Pi-Hole. Both in separate Docker containers.

Image
0

1.0K

jsanchez0x/unbound_container repository overview

unbound_container Docker Image CI Generic badge

Simple implementation of unbound to work with Pi-Hole. Both in separate Docker containers.

Prerequisites

If the Pi-hole container is running on a network other than the default. If not, this is not necessary.

  • Get the name of the network where the Pi-Hole container is located.
  • And set an unused IP of this network.

Build

git clone https://github.com/jsanchez0x/unbound_container.git
docker build --rm --tag jsanchez0x/unbound_container:latest unbound_container

Run

docker run -d \
    --name unbound \
    -p 5335:5335/tcp -p 5335:5335/udp \
    --restart=unless-stopped \
    --cap-add=NET_ADMIN \
    jsanchez0x/unbound_container:latest
With custom network

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

Maintenance

Re-create every 6 months to update the root servers. Necessary to download updated dns-root-data.

Tag summary

Content type

Image

Digest

sha256:dcc8fdf39

Size

40.9 MB

Last updated

about 3 years ago

docker pull jsanchez0x/unbound_container