GithubHelp home page GithubHelp logo

bombsimon / docker-opendnssec-softhsm Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 15 KB

๐Ÿณ Docker file to build and run OpenDNSSEC and SoftHSM on Alpine linux

License: MIT License

Dockerfile 79.82% DIGITAL Command Language 6.63% Shell 13.55%
opendnssec softhsm2 softhsm dns dnssec

docker-opendnssec-softhsm's Introduction

docker-opendnssec-softhsm

This is a repository which builds a "minimalistic" (500M) OpenDNSSEC + SoftHSM instance to sign zone files. The image will start ods-enforcerd and ods-signerd in the background and then use syslog in foreground as PID 1. The image is based on Alpine Linux.

Supported tags

Running OpenDNSSEC

To run an instance of the container with OpenDNSSEC and SoftHSM just start a container with the image.

docker run --name opendnssec -d bombsimon/opendnssec-softhsm

Zones found in /var/opendnssec/unsigned on startup will be added automatically and the zone will be named the same as the file found.

If the container was started without any zones mounted to above mentioned path you can add them manually. For details, see the OpenDNSSEC reference. An example with the example.com zone in this repository would look like this:

docker cp example.com opendnssec:/var/opendnssec/unsigned
docker exec opendnssec ods-enforcer zone add -z example.com -p lab

Signed zones are located in /var/opendnssec/signed.

References

Building

The container will build four packages from source which makes the container building a bit slow. The reason for this is to avoid deep dependencies and support deployment on an Alpine Linux.

First of all we build gost engine since it's no longer bundled with SSL >= 1.1.1 but is required for SoftHSM. We then build ldns from source so we can compile it with openssl instead of libressl which the package in the apk repository is built upon.

When we've built ldns we will first build softhsm and then opendnssec. To build a new version of the container run

docker build --no-cache -t opendnssec-softhsm .

Software and versions

Software Version
Alpine Linux 3.11
GOST Engine 1.1.0.3
LDNS 1.7.1
OpenDNSSEC 2.1.6
OpenSSL 1.1.1d-r3
SoftHSM 2.5.0

docker-opendnssec-softhsm's People

Contributors

bombsimon avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.