/docker-knotdns

KnotDNS Dockerfile

Primary LanguageDockerfile

Docker Repository on Quay.io

heximcz/knotdns:3.3.2

  • High-performance authoritative-only DNS server
  • Knot DNS is a high-performance authoritative-only DNS server which supports all key features of the modern domain name system.
  • Knot maintainer: CZ.NIC Labs Knot DNS is developed by CZ.NIC Labs, the R&D department of .CZ registry and hence is well suited to run anything from the root zone, the top-level domain, to many smaller standard domain names.
  • Knot DNS Documentation

Docker Knot DNS:

  • latest version: docker pull hexim/knotdns:3.3.2

News

  • from KnotDNS 3.3.2 docker is running on Debian 12 (Bookworm)
  • examples for master and slave DNS server

Additional modules:

  • vim (powerful text editor)
  • ntpdate (sync date)
  • net-tools (netstat,...)
  • mc (Midnight Commander)
  • nano (text editor)

Example: docker-compose.yml

  • Version 3.3 work with Docker Engine release 17.06.0+
  • with docker-compose version 1.16.1+
version: '3.3'
services:
  knotdns:
    container_name: hexim_knot
    image: 'hexim/knotdns:latest'
    ports:
     - "5053:53/tcp"
     - "5053:53/udp"
     - "8853:853/udp"
    stdin_open: true
    volumes:
     - /opt/synknot:/opt/synknot
     - /opt/knot/etc:/etc/knot
     - /opt/knot/var/lib:/var/lib/knot

Run bash

docker-compose exec knotdns bash

Knot DNS configurations

Read more examples on github