Dockerized unbound based on alpine edge
100K+
eilandert/unbound is a tiny, security-hardened Docker image of Unbound, the
validating, recursive, caching DNS resolver. It is part of the
deb.myguard.nl container stack, where it provides
fast local DNS with DNSSEC validation for the mail and web services (and removes
the dependency on — and leakage to — third-party resolvers).
docker-compose.ymlservices:
unbound:
image: eilandert/unbound:latest
restart: unless-stopped
read_only: true
cap_drop: [ALL]
cap_add:
- NET_BIND_SERVICE # bind port 53
security_opt:
- no-new-privileges:true
volumes:
- ./unbound.conf.d:/etc/unbound/unbound.conf.d:ro
ports:
- "127.0.0.1:53:53/udp"
- "127.0.0.1:53:53/tcp"
Keep it on an internal network or loopback unless you intentionally run an open resolver (you almost never should — open resolvers get abused for DNS amplification).
Content type
Image
Digest
sha256:39d0713be…
Size
8.5 MB
Last updated
about 6 hours ago
docker pull eilandert/unbound