Skip to content

Discover optimal DNS server speed for efficient network performance testing

License

Notifications You must be signed in to change notification settings

ArmanTaheriGhaleTaki/best403unlocker

Repository files navigation

About best403unlocker

I had so many challenges in choosing the best DNS sni proxy server that fits my internet service provider so I developed an script that tests the speed of the DNSes so I won't waste my time on finding the best DNS server.

Best403Unlocker TUI

Best403Unlocker TUI is a bash script-based Text User Interface (TUI) designed to help users find the fastest DNS servers and download files using the optimal DNS.

TUI

Features

  • DNS Analyzer: Identify the fastest DNS servers and optionally set your system to use them.
  • File Downloader: Download files with optimized DNS settings to ensure the fastest possible download speeds.

Prerequisites

  • whiptail:
    sudo apt-get install whiptail

Getting Started with TUI

Setup

  1. Clone the repository:
    git clone https://github.com/ArmanTaheriGhaleTaki/best403unlocker.git
    cd best403unlocker

Running the Script

Execute the script:

bash main.sh

Usage

When you run the script, a menu will appear with the following options:

  • Run DNS analyzer: Finds the most efficient DNS server for your network.
  • Save file: Downloads a file using the best DNS server.
  • Advance setting: Access additional configuration options.
  • Exit: Exit the program.

DNS Analyzer

  1. Select "Run DNS analyzer" from the main menu.
  2. Enter the URL of the file you want to use for testing.
  3. Choose whether to run the analysis using Docker (recommended) or directly on the system.
  4. The script will find the best DNS server and optionally set your system to use it.

File Downloader

  1. Select "Save file" from the main menu.
  2. Enter the URL of the file you want to download.
  3. Choose the location to save the downloaded file.
  4. Select whether to run the download using Docker (recommended) or directly on the system.
  5. The script will configure your system to use the best DNS server and download the file.

Getting Started with CLI

You can use this script with docker or run in baremetal

Baremetal

output

Also you can run this script on baremetal with sudo privilege

wget -c https://raw.githubusercontent.com/ArmanTaheriGhaleTaki/best403unlocker/main/bash.sh && sudo bash bash.sh

Docker

You only need docker installed and you can edit variables in .env for your needs.

git clone --depth 1 https://github.com/ArmanTaheriGhaleTaki/best403unlocker/ && cd best403unlocker && docker build -t best403unlocker . && docker run --env-file .env best403unlocker

or you can use built image uploaded in dockerhub
for that case you need to use .env at run time

wget -c https://raw.githubusercontent.com/ArmanTaheriGhaleTaki/best403unlocker/main/.env && docker run --env-file .env armantaherighaletaki/best403unlocker

credit

thank AKishmiish for adding TUI to this projcet

Contact

My social media - @armondy🙄 - armantahery1381@gmail.com

Project Link: best403unlocker