![Interactive CLI tool](https://private-user-images.githubusercontent.com/90900584/250606263-d49f3a8e-ce15-4048-9854-aa4be55c9b0f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyMzcyMzEsIm5iZiI6MTcyNDIzNjkzMSwicGF0aCI6Ii85MDkwMDU4NC8yNTA2MDYyNjMtZDQ5ZjNhOGUtY2UxNS00MDQ4LTk4NTQtYWE0YmU1NWM5YjBmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIxVDEwNDIxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRmNmJiYTg0MjhlMDdlNGEyMWUxOGI1OWE0YjljODc1Y2MxNTA5NWRkNjY5Y2U0NzlmMjZkOTczNTYxMjMwY2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.r_7W0UGV1TOH6UCJPxiKgttrIAvWgaFbGv_6MzsnjZU)
This is a TUI written in python with ncurses. It supports a number of popular DNS providers such as Google, OpenDNS, and Cloudflare. It also enables Iranian users to choose DNS providers that circumvent bans on Iranian IP addresses.
The script requires Python 3. To use it, open a terminal and navigate to the directory containing the script. Then, run the script:
git clone https://github.com/aminh02/Rad-Show.git
cd Rad-Show
python3 rad-show.py
Alternatively you can add it as an alias to your shell configuration file (~/.zshrc if you use ZSH):
echo 'alias dns="python3 rad-show.py"' >> ~/.zshrc
Now you can simply use the command dns
to run the script.
In the interactive TUI, you can navigate between different options using the arrow keys or by typing the first letter of the option you want to select. After selecting an option, hit return/enter and confirm your choice.
The following DNS providers are supported:
- OpenDNS
- Cloudflare
- Quad9
- Shecan
- Begzar
- 403
- Radar
- Electro
To set the DNS servers to the default provided by the network, choose Network Default
.
To flush the DNS cache, choose Flush DNS Cache
.
To set the DNS servers to Shecan, navigate to Shecan using the arrow keys or by typing 's' an hit return/enter.
![image](https://private-user-images.githubusercontent.com/90900584/250608396-7909dfc0-490f-4c99-b056-0c71603a5d52.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyMzcyMzEsIm5iZiI6MTcyNDIzNjkzMSwicGF0aCI6Ii85MDkwMDU4NC8yNTA2MDgzOTYtNzkwOWRmYzAtNDkwZi00Yzk5LWIwNTYtMGM3MTYwM2E1ZDUyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIxVDEwNDIxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI5YWQyMzNhOGFlNmFkNTlhOWQ5OWM1YWM3YTI2NTFkOTJhMDU0N2ZiN2JiNzg0ZGVhYTAyODgwNmEwM2ZiYWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5e1xaJTitrtonc6fcHwG3QelyL_CNa_qX5e32sHixMA)
This script is released under the MIT License. See LICENSE
for more information.