DNS-SWITCHER(1)

NAME

dns-switcherQuickly switch between popular DNS servers like Shecan, Radar, Electro, Google, and Cloudflare — ideal for reducing…

SYNOPSIS

INFO

127 stars
26 forks
0 views

DESCRIPTION

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

README

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
    • Radar
    • Electro
    • DNS Pro
    • DynX
    • 403
    • Begzar
    • Google
    • Cloudflare
  • Includes “Reset to Default” option (127.0.0.53)

  • Preserves custom options and search lines

Usage

git clone https://github.com/Linuxmaster14/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:

ProviderPrimary IPSecondary IP
Shecan178.22.122.100185.51.200.2
Radar10.202.10.1010.202.10.11
Electro78.157.42.10078.157.42.101
Begzar185.55.226.26185.55.226.25
DNS Pro87.107.110.10987.107.110.110
DynX10.70.95.15010.70.95.162
403.10.202.10.20210.202.10.102
Google8.8.8.88.8.4.4
Cloudflare1.1.1.11.0.0.1

License

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

Author

Made with Linuxmaster14

SEE ALSO

clihub3/4/2026DNS-SWITCHER(1)