Sign inSign up

xcsrz/just-tinydns

By xcsrz

•Updated almost 9 years ago

A simple and streamlined installation of djbdns tinydns. Your best option for running a DNS server.

Image
0

1.0K

xcsrz/just-tinydns repository overview

⁠just-tinydns

This is a docker image to run a djbdns DNS server for publishing public DNS records on the internet, or "tinydns". Not to be confused with a DNS cache for a local area network. That's the other form of djbdns.

⁠Notes:
  • The tinydns service directory is /srv/dns
  • You (probably) want to mount your data file from your host to /srv/dns/root/data
  • make is run when the container starts (this rebuilds the DNS entry index)
  • After updating your data file on the root filesystem, execute /rebuild.sh on the container to make the changes take effect: docker exec [ CONTAINER NAME OR ID ] /rebuild.sh
⁠Basic Usage:

docker run -v `pwd`/test.dns:/srv/dns/root/data -p 53:53/tcp -p 53:53/udp xcsrz/just-djbdns

⁠Docker Compose:
version: "3"
services:
  dns:
    image: xcsrz/just-djbdns
    volumes:
      - ./dns.data:/srv/dns/root/data
    ports:
      - 53:53/tcp
      - 53:53/udp
⁠References

Data File Format⁠

All About djbdns⁠

Tag summary

Content type

Image

Digest

Size

54 MB

Last updated

almost 9 years ago

docker pull xcsrz/just-tinydns