Sign inSign up

adite/tinydns

By adite

•Updated over 7 years ago

TinyDNS & DNSCache

Image
0

171

adite/tinydns repository overview

⁠adite/tinydns


⁠TinyDNS + DNSCache

tescom

⁠Just simple TinyDNS & DNScache

⁠Volume

/etc/tinydns
/etc/dnscache

⁠Port

53/UDP : TinyDNS
53/TCP : DNSCache

⁠Usage

First, you need to create a TinyDNS data file on your host. For example,

cat > {YOUR_TINYDNS_DATA_DIR}/data << EOF
.testdomain.com:10.0.0.1:ns.testdomain.com:3600
EOF

And run Container

docker run -dit -p 53:53/udp -p 53:53/tcp -v {YOUR_TINYDNS_DATA_FILE}:/etc/tinydns/root/data adite/tinydns

Then test DNS

$ dig testdomain.com soa @127.0.0.1 +short
ns.testdomain.com. hostmaster.testdomain.com. 1405869680 16384 2048 1048576 2560

$ dig ns.testdomain.com @127.0.0.1 +short
10.0.0.1

Tag summary

Content type

Image

Digest

Size

167.9 MB

Last updated

over 7 years ago

docker pull adite/tinydns