Dns.toys
A DNS server that offers useful utilities and services over the DNS protocol. Weather, world time, unit conversion etc.
Install / Use
/learn @knadh/Dns.toysREADME
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 2023-05-28T14:00-bengaluru-berlin/de.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
dig fun.dict @dns.toys
dig excuse @dns.toys
dig A12.9352,77.6245/12.9698,77.7500.aerial @dns.toys
dig 5.16.nanoid @dns.toys
Running locally
Docker
docker run name dnstoys --restart unless-stopped -p 5354:5354/tcp -p 5354:5354/udp
Or using docker compose:
docker compose up
From source
- Clone the repo
- Copy
config.sample.tomltoconfig.tomland edit the config - Make sure you have a copy of the
cities15000.txtfile at the root of this directory (instructions are in theconfig.sample.tomlfile) - Make sure to download the
wordnetfrom Wordnet website.(more instructions are in theconfig.sample.tomlfile) - Extract the tarball and rename extracted the directory to
wordnet - Make sure to fetch the IFSC data (instructions are in the
config.sample.tomlfile). - Run
make buildto build the binary and then run./dnstoys.bin - Query against the locally running server
dig <query> +short @127.0.0.1 -p 5354
Others
- DnsToys.NET - A .net client library for the service.
Related Skills
node-connect
335.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
335.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.7kCommit, push, and open a PR
