This guide uses Docker to run NSD.
For Docker installation, see Docker.
Create a directory to store your configuration and compose files.
mkdir -p /opt/nsd
cd /opt/nsd
Define a container for NSD.
services:
nsd:
image: nsd:latest
ports:
- "53:53/udp"
- "53:53/tcp"
volumes:
- ./config:/etc/nsd
Start the container in the background.
docker compose up -d
Running NSD in containers for production? We help with:
Need help? office@linux-server-admin.com or Contact Us