Skip to content

iamsahebgiri/dinesh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DINESH

Augmented DNS server providing useful utilities.

⚡️ Introduction

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.

⚙️ Installation

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

💡 Usage

Help

Show a list of all supported commands with examples.

dig help @127.0.0.1

Random Number

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.

Examples

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"

Password

Generate cryptographically secure password suitable for generating tokens and codes. In this case length is optional.

Examples

dig pwd @127.0.0.1 +short
# "7XcFMFO1KV"

dig pwd.32 @127.0.0.1 +short
# "Efe3301RDS7V3bdKHb_zcRBRG_EYnQH_"

IP

Returns Host's IP Address.

Examples

dig ip @127.0.0.1 +short
# "127.0.0.1"

Number to words

Convert number to words.

Examples

dig words.1024 @127.0.0.1 +short
# "one thousand and twenty-four"

❤️ Acknowledgements

⭐️ Contribute

If you want to say thank you and/or support the active development of dinesh:

  1. Add a GitHub Star to the project.
  2. Tweet about the project on your Twitter.
  3. Write a review or tutorial on Medium, Dev.to or personal blog.
  4. Support the project by donating a cup of coffee.

🧾 License

MIT License Copyright (c) 2023 Saheb Giri.

About

Tiny DNS server providing useful utilities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages