Description
dns.toys is a DNS server that offers handy utilities and small services through the DNS protocol, so you can use them from a command line with a standard dig command. It is free to use. For world time, you pass a city name with no spaces and the suffix .time, with an optional two-letter country code. For time zone conversion, you give a date and time with the two cities, and the service converts between them. For weather, you pass a city name, with an optional country code. Unit conversion works between more than seventy units. The site lists the commands to copy, so you can try each service directly in your terminal. The project is open source, and its code is on GitHub under the knadh organization. It is a playful project as well as a useful one, since it takes creative liberties with the DNS protocol to deliver the answers. It suits people who work in a terminal and want quick answers to time, weather and conversion questions without opening a browser.…
Highlights
- World time for cities
- Time zone conversion between cities
- Weather lookups from the command line
- Unit conversion across 70+ units
Ratings & Reviews
No ratings yet
Be the first to rate Dns.toys.
People also visit
PYDNS-Scanner
A modern, high-performance DNS scanner with a beautiful Terminal User Interface
Dns.toys FAQ
What is dns.toys?
A DNS server that offers utilities and small services, such as world time, weather and unit conversion, over the DNS protocol.
Is it free?
Yes. The site describes its services as free and accessible on the command line.
How do I use it?
Run a dig command against dns.toys, using the examples on the site. For example, dig mumbai.time @dns.toys gives the current time in Mumbai.
Can it convert time zones?
Yes. Use the format YYYY-MM-DDTHH:MM with two cities, and the service converts the time between them.
How many units does it convert?
The site says unit conversion works between more than 70 different units.
Is the code available?
Yes. The project is open source on GitHub under the knadh organization.


