Running SproutDNS Server
SproutDNS is distributed as a docker image from docker hub.
Configuration
Two configuration files need to be provided. sproutdns.license
containing the license and zones.json
containing the DNS zones to be served in json format.
docker run \
-v ./zones.json:/config/zones.json:ro \
-v ./sproutdns.license:/config/sproutdns.license:ro \
-p 53:53/udp wttw/sproutdns:latest serve
This will serve DNS on port 53, writing logs to stdout.
Last modified: 23 July 2024