Skip to content

Argo160/dns-switcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

DNS Switcher

A simple Bash script to quickly switch your system DNS servers to popular providers like Shecan, Radar, Electro, Google, and more — designed for gaming, reduced ping, bypassing censorship, and stable connections.

🇮🇷 Built for users in Iran and anyone looking for fast and reliable DNS switching.

Features

  • Interactive CLI to choose DNS providers

  • Auto backup of /etc/resolv.conf

  • Supports public and local DNS:

    • Shecan
    • Electro
    • DNS Pro
    • Begzar
    • Google
    • Cloudflare
  • Includes “Reset to Default” option (127.0.0.53)

  • Preserves custom options and search lines

Usage

git clone https://github.com/Argo160/dns-switcher.git
cd dns-switcher
chmod +x dns-switcher.sh
sudo ./dns-switcher.sh

⚠️ You must run the script with sudo or as root to update system DNS.

Supported DNS Providers

This script includes a curated list of reliable DNS servers used widely in Iran for bypassing restrictions and improving latency:

Provider Primary IP Secondary IP
Shecan 178.22.122.100 185.51.200.2
Electro 78.157.42.100 78.157.42.101
Begzar 185.55.226.26 185.55.226.25
DNS Pro 87.107.110.109 87.107.110.110
Google 8.8.8.8 8.8.4.4
Cloudflare 1.1.1.1 1.0.0.1

License

MIT – free for personal and commercial use. See LICENSE for details.

Author

Made with Linuxmaster14

About

Quickly switch between popular DNS servers like Shecan, Radar, Electro, Google, and Cloudflare — ideal for reducing latency, bypassing restrictions, and improving stability in Iran

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%