Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ sudo ./iran-docker.sh
## Supported DNS Providers

* Shecan
* Shecan Pro
* Radar
* Electro
* Begzar
* DNSPro
* 403
* Bertina
* DynX
* Google
* Cloudflare
Expand All @@ -51,6 +53,12 @@ sudo ./iran-docker.sh
* docker.mobinhost.com
* hub.mecan.ir
* docker.nrp.co
* docker-mirror.liara.ir
* ghcr-mirror.liara.ir
* mirrors.pardisco.co
* mirror2.chabokan.net
* docker.abrha.net
* mirror-docker.runflare.com
* Auto-select fastest proxy (Benchmark)

These proxies are applied to /etc/docker/daemon.json and the Docker service will be restarted automatically.
Expand Down
10 changes: 9 additions & 1 deletion iran-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ fi
main_menu_items=("Set DNS" "Install Docker" "Update Docker" "Set Docker Proxy" "Exit")

# Available DNS providers and their servers
dns_options=("Shecan" "Radar" "Electro" "Begzar" "DNSPro" "403" "DynX" "Google" "Cloudflare" "Reset to Default")
dns_options=("Shecan" "Shecan Pro" "Radar" "Electro" "Begzar" "DNSPro" "403" "Bertina" "DynX" "Google" "Cloudflare" "Reset to Default")
declare -A dns_servers=(
["Shecan"]="178.22.122.100 185.51.200.2"
["Shecan Pro"]="178.22.122.101 185.51.200.1"
["Radar"]="10.202.10.10 10.202.10.11"
["Electro"]="78.157.42.100 78.157.42.101"
["Begzar"]="185.55.226.26 185.55.226.25"
["DNSPro"]="87.107.110.109 87.107.110.110"
["403"]="10.202.10.202 10.202.10.102"
["Bertina"]="193.186.32.32"
["DynX"]="10.70.95.150 10.70.95.162"
["Google"]="8.8.8.8 8.8.4.4"
["Cloudflare"]="1.1.1.1 1.0.0.1"
Expand All @@ -43,6 +45,12 @@ registry_proxies=(
"docker.mobinhost.com"
"hub.mecan.ir"
"docker.nrp.co"
"docker-mirror.liara.ir"
"ghcr-mirror.liara.ir"
"mirrors.pardisco.co"
"mirror2.chabokan.net"
"docker.abrha.net"
"mirror-docker.runflare.com"
)

# DNS Management Functions
Expand Down