Giter Site home page Giter Site logo

rad-show's Introduction

Interactive CLI tool

Rad-Show: macOS System DNS Setter

This is a TUI written in python with ncurses. It supports a number of popular DNS providers, including Google, OpenDNS, and Cloudflare. It also enables Iranian users to choose DNS providers that circumvent bans on Iranian IP addresses.

Usage

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:

  • Google
  • 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.

Example

To set the DNS servers to Shecan, navigate to Shecan using the arrow keys or by typing 's' an hit return/enter.

image

License

This script is released under the MIT License. See LICENSE for more information.

rad-show's People

Contributors

aminh02 avatar yolowex avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.