Giter Site home page Giter Site logo

docker-tinytinydns's Introduction

docker-tinytinydns

A very tiny Docker image that runs D. J. Bernstein's tinydns authoritative DNS server. At a virtual size of 33kB (yes, kilobytes), it's quite a lot smaller than your average BIND Docker image, although, admittedly, it doesn't have all of BIND's features.

IMPORTANT

This version will scp the data & data.cdb to the REMOTE_HOST and REMOTE_DATA_PATH you specify. You'll need to setup ssh authorized_hosts on the other end beforehand.

What's included?

  • tinydns version 1.05.

That's it.

How do I use it?

# on the docker host which contains your primary nameserver
git clone https://github.com/Archdiocese-of-New-Orleans/docker-tinytinydns.git

Write a tinydns data file, turn it into a data.cdb and scp to REMOTE_HOST:REMOTE_DATA_PATH database with:

cd docker-tinytinydns
[email protected] REMOTE_DATA_PATH=/remote/data/path make

Then do (on both docker hosts that contain primary and remote nameservers):

docker run -d -p 53:53/udp -v /host/path/to/data.cdb:/data/data.cdb --restart=always archno/docker-tinytinydns

tinydns should start serving DNS requests on port 53 and print its log to standard out.

An example data file (and its corresponding data.cdb file) have been included in the repository for your perusal.

License

The tinydns programs are part of djbdns which has been placed into the public domain by the author. I dedicate the rest of it to the public domain under CC0.

docker-tinytinydns's People

Contributors

wandernauta avatar

Watchers

David John avatar James Cloos avatar Archdiocese of New Orleans Office of IT 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.