Public Repository

Last pushed: 6 months ago
Short Description
DJB Dns caching container
Full Description

To use this you will need to connect a folder to '/data' and it should contain 'ip' and 'server' directories. For example:

> ls -1  /var/lib/docker/volumes/caching-dns
ip
servers
>
> docker run -d -v /var/lib/docker/volumes/caching-dns:/data baelish/caching-dns

If you want to allow all RFC1918 (local network) and host addresses you could do the following:

> touch /var/lib/docker/volumes/caching-dns/ip/10
> touch /var/lib/docker/volumes/caching-dns/ip/172.{16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}
> touch /var/lib/docker/volumes/caching-dns/ip/192.168

NOTE: The container will need to be restarted for changes to the ip and server folder to take effect.
NOTE: The '@' file for root servers does already exist in the servers directory so you don't need to add that.
NOTE: The '127.0.0.1' file already exists in the IP directory.

More information: https://cr.yp.to/djbdns.html

Docker Pull Command
Owner
baelish

Comments (0)