Sign inSign up

loxoo/knot

By loxoo

Updated about 2 years ago

A Docker image for Knot authoritative-only DNS server

Image
0

2.3K

loxoo/knot repository overview

loxoo/knot

Git Commit Build Status Latest Version Size Docker Stars Docker Pulls

Usage

docker run -d \
    --name=srvknot \
    --restart=unless-stopped \
    --hostname=srvknot \
    -p 53:53 \
    -p 53:53/udp \
    -e DOMAIN=example.com \
    -e NS2=ns2.example.net \
    -v $PWD/config:/config \
    -v $PWD/storage:/storage \
    -v $PWD/rundir:/rundir \
    loxoo/knot

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.example.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

Environment

  • $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

Volume

  • /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.

Network

  • 53/udp - Dns port udp.
  • 53/tcp - Dns port tcp.

Tag summary

Content type

Image

Digest

sha256:a430b0466

Size

28.9 MB

Last updated

about 2 years ago

docker pull loxoo/knot