Docker Image for BIND 9.20.24 on Ubuntu 26.10. Recursive DNS for trusted clients only.
283
Recursive BIND resolver for other containers on a private network. It answers DNS queries from trusted addresses and validates DNSSEC.
ubuntu:26.10-4, so it answers on IPv4127.0.0.1 and the range in TRUSTED_CLIENTS_IP. Other clients are refused.auto.TRUSTED_CLIENTS_IP should be the private network that is allowed to query this resolver. A public address range would turn it into an open resolver.
| Variable | Purpose |
|---|---|
TRUSTED_CLIENTS_IP | Client range allowed to use recursion, in BIND syntax. Example: 172.30.0.0/16 |
docker run -d --name dnsresolver \
-p 53:53/udp -p 53:53/tcp \
-e TRUSTED_CLIENTS_IP=172.30.0.0/16 \
webkutir/dnsresolver:9.20.24
Point other containers at this resolver with Docker's dns setting.
docker pull webkutir/dnsresolver:latest