Dinesh is an augmented DNS server that provides various useful utilities to enhance your DNS experience. It allows you to perform tasks beyond traditional DNS lookups.
Make sure you have Python installed. Run this followed commands:
# Install dependencies (only the first time)
pip install -r requirements.txt
# Run the DNS server at 127.0.0.1:53
python main.py
Show a list of all supported commands with examples.
dig help @127.0.0.1
Generate random number between [min, max] both inclusive.
It is suitable for rolling dice [1-6], flipping coins [0-1], etc. Both the arguments, min
and max
are required.
dig rand.1-100 @127.0.0.1 +short
# "69"
dig rand.1-6 @127.0.0.1 +short
# "3"
dig rand.0-1 @127.0.0.1 +short
# "1"
Generate cryptographically secure password suitable for generating tokens and codes. In this case length
is optional.
dig pwd @127.0.0.1 +short
# "7XcFMFO1KV"
dig pwd.32 @127.0.0.1 +short
# "Efe3301RDS7V3bdKHb_zcRBRG_EYnQH_"
Returns Host's IP Address.
dig ip @127.0.0.1 +short
# "127.0.0.1"
Convert number to words.
dig words.1024 @127.0.0.1 +short
# "one thousand and twenty-four"
If you want to say thank you and/or support the active development of dinesh:
- Add a GitHub Star to the project.
- Tweet about the project on your Twitter.
- Write a review or tutorial on Medium, Dev.to or personal blog.
- Support the project by donating a cup of coffee.
MIT License Copyright (c) 2023 Saheb Giri.