Sign inSign up

chimbosonic/unbound

By chimbosonic

Updated 1 day ago

Unbound is a validating, recursive, and caching DNS resolver.

Image
0

10K+

chimbosonic/unbound repository overview

Unbound Container

pipeline status

This is a unbound OCI image built using https://github.com/NLnetLabs/unbound.

This image has a fully setup unbound server that is configured for Recursive Resolution (It does not use any other DNS provider just the dns roots). It also blocks Ad and malware domains.

Base image is alpine:latest.

The image is available on Docker Hub here

Source code and pipeline can be found here

Image Verification

The image is signed using cosign from sigstore.

You can verify the signature with:

cosign verify --key cosign.pub chimbosonic/unbound:latest

Running it

plain docker

Feel free to change the port and folder that contains your repos.

docker run -it  --rm -p 5353:5353 --name unbound -t chimbosonic/unbound:latest
docker-compose

Please read docker-compose.yml before running the following

docker-compose up -d

This should make unbound available on port 53

How to build

This will build the container.

make build

CAUTION

The default config inside this container has been made to suit my needs:

  • 4 threads
  • IPv6 and IPv4 enabled both listenning and for queries
  • Blacklists advertising domains and malware domains
  • Any IP can make a query !! (This might not be secure in your environment. I use a firewall to block unwanted access)

You can overwite these by mounting /var/unbound/etc and putting in your configs inside the mounted volume. Or changing the config and building the image yourself using make build

Tag summary

Content type

Image

Digest

sha256:07bff3720

Size

17.4 MB

Last updated

1 day ago

docker pull chimbosonic/unbound