A Docker image for Knot authoritative-only DNS server
2.9K
docker run -d \
--name=srvknot \
--restart=unless-stopped \
--hostname=srvknot \
-p 53:53 \
-p 53:53/udp \
-e DOMAIN=example.com \
-e NS2=ns2.exemple.net \
-v $PWD/config:/config \
-v $PWD/storage:/storage \
-v $PWD/rundir:/rundir \
loxoo/knot-s6
If you subscribe to the NameSilo registrar, you can use the $ENDPOINT and $APIKEY variables that will trigger a cron configuration to automate DNSSEC registration tasks :
docker run -d \
--name=srvknot \
--restart=unless-stopped \
--hostname=srvknot \
-p 53:53 \
-p 53:53/udp \
-e DOMAIN=example.com \
-e NS2=ns2.exemple.net \
-e ENDPOINT=https://www.namesilo.com/api/ \
-e APIKEY=XXXXXXXX... \
-v $PWD/config:/config \
-v $PWD/storage:/storage \
-v $PWD/rundir:/rundir \
loxoo/knot-s6
$SUID - User ID to run as. default: 901$SGID - Group ID to run as. default: 901$DOMAIN - Domain master zone. required$NS2 - Fqdn name of slave server zone. required$MX - Name of mail server. optional$CNAME - Name of different subdomain. Separated by commas. optional$ENDPOINT - Name server of NameSilo API. optional$APIKEY - Authentication NameSilo API Key. optional$LOG_LEVEL - Logging severity levels. default: info$TZ - Timezone. optional/rundir - A path for storing run-time data./storage - A data directory for storing zone files, journal database, and timers database./config - Server configuration file location.53/udp - Dns port udp.53/tcp - Dns port tcp.Content type
Image
Digest
sha256:2841582c7…
Size
31.1 MB
Last updated
about 2 years ago
docker pull loxoo/knot-s6