Skip to content

A DNS server that offers useful utilities and services over the DNS protocol. Weather, world time, unit conversion etc.

License

Notifications You must be signed in to change notification settings

Stenstromen/dns.toys

 
 

Repository files navigation

dns.toys fork with Dockerfile

Built for dns.toys.stenstromen.se

Docker

Demo

Demo available at Stenstromen/dnstoys. (linux/arm64)

docker run -d --rm -p 5354:5354/udp stenstromen/dnstoys:latest

Clone

git clone https://github.com/Stenstromen/dnstoys.git

Build

docker build -t dnstoys dnstoys/.

Run

docker run -d --rm -p 5354:5354/udp dnstoys

Connect

dig help @localhost -p5354

dns.toys is a DNS server that takes creative liberties with the DNS protocol to offer handy utilities and services that are easily accessible via the command line.

For docs, visit www.dns.toys

Sample commands

dig help @dns.toys

dig mumbai.time @dns.toys

dig newyork.weather @dns.toys

dig 42km-mi.unit @dns.toys

dig 100USD-INR.fx @dns.toys

dig ip @dns.toys

dig 987654321.words @dns.toys

dig pi @dns.toys

dig 100dec-hex.base @dns.toys

Running locally

  • Clone the repo
  • Copy config.sample.toml to config.toml and edit the config
  • Run make build to build the binary and then run ./dnstoys.bin

Others

About

A DNS server that offers useful utilities and services over the DNS protocol. Weather, world time, unit conversion etc.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.1%
  • Makefile 2.5%
  • Dockerfile 0.4%