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
- Host: GitHub
- URL: https://github.com/deployable/docker-ndjbdns
- Owner: deployable
- Created: 2016-11-28T23:26:09.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-10T02:41:52.000Z (over 8 years ago)
- Last Synced: 2025-02-09T20:28:06.396Z (about 1 year ago)
- Topics: djbdns, dns-cache, docker, ndjbdns, tinydns
- Language: Shell
- Homepage:
- Size: 18.6 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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