An open API service indexing awesome lists of open source software.

https://github.com/deployable/docker-ndjbdns

Dockerised ndjbdns
https://github.com/deployable/docker-ndjbdns

djbdns dns-cache docker ndjbdns tinydns

Last synced: 4 months ago
JSON representation

Dockerised ndjbdns

Awesome Lists containing this project

README

          

# ndjbdns in docker

Puts the ndjbdns djbdns patch/port in docker

You DNS data and config will need to be overlayed on top of this image.

Either mount `/ndjbdns/etc` or build a new image `FROM deployable/ndjbdns-tinydns` including your config.

ndbjbdns can be a bit buggy, also try [unbound](https://github.com/deployable/docker-unbound)

## tinydns

The `tinydns` config is stored in `./tinydns`

docker run -p 53:53 deployable/ndjbdns-tinydns`

## dnscache

The `dnscache` config is stored in `./dnscache`

docker run -p 53:53 deployable/ndjbdns-dnscache`

## Running tinydns and dnscache

If you need to run both services, you will need multiple IP addresses. Creating alias service addresses on loopback is an one way to achieve this for local use. `docker-compose.yml` provides an example running tinydns on 10.8.9.8 and dnscache on 10.8.10.8

## Build

The `make.sh` script will create a "build" image to build the app and a common "app" image to base the `tinydns` and `dnscache` images off.

./make.sh

### Hub Builds

- [deployable/ndjbdns](https://hub.docker.com/r/deployable/ndjbdns/)
- [deployable/ndjbdns-tinydns](https://hub.docker.com/r/deployable/ndjbdns-tinydns/)
- [deployable/ndjbdns-dnscache](https://hub.docker.com/r/deployable/ndjbdns-dnscache/)

### DNS