Skip to content

The Docker image for hickory-dns

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

hickory-dns/docker

Repository files navigation

License: MIT License: Apache 2.0

hickory-DNS

hickory-DNS in Docker

This is the hickory-dns Docker image

Enabled features in the image

  • dns-over-https
  • dns-over-https-rustls
  • dnssec-openssl
  • dnssec-ring
  • dnssec
  • resolver
  • sqlite
  • backtrace

Example use in docker-compose

version: "2"

services:
    dns-server:
        image: docker.io/hickorydns/hickory-dns:latest
        volumes:
          - ./config/dns/named.toml:/etc/named.toml:ro
          - ./config/dns/ipv6_block.zone:/var/named/ipv6_block.zone:ro
        ports:
            - "53:53/tcp"
            - "53:53/udp"

Contributing

Build a pull-request or your work

You can add the argument FEATURES= to define the list of enabled features

  • Edit and run

    IMAGE_TAG="yourUsername/hickory-dns:ns-trial" \
    VERSION="0.20.x-dev" \
    SOURCE_FILE="https://github.com/hickory-dns/hickory-dns/archive/refs/heads/stop-returning-ns-on-auth-response.tar.gz" \
    SOURCE_SHA256="$(curl -Ls "${SOURCE_FILE}" -o - | sha256sum | cut -d ' ' -f 1)" \
    make build-alpine

To use wget, replace curl -Ls "${SOURCE_FILE}" -o - by wget "${SOURCE_FILE}" -O -

Push the result to your repository

IMAGE_TAG="yourUsername/hickory-dns:ns-trial" make push