I had so many challenge in choosing the best DNS sni proxy server thats fits my internet service provider so I develope an script that tests the speed of the DNSs so I won't waste my time on finding the best DNS server
you can use this script with docker or on bare metal
you need root accsses and wget package
you can edit variables and customize the scripts for your needs bash.sh.
git clone https://github.com/ArmanTaheriGhaleTaki/speed-test-dns/ && cd speed-test-dns&& sed -i '2,4 s/^#//' bash.sh && sudo apt update && sudo apt install -y wget && sudo bash bash.sh
you only need docker installed and you can edit variables in Dockerfile for your needs.
[suggested] using docker
git clone https://github.com/ArmanTaheriGhaleTaki/speed-test-dns/ && cd speed-test-dns && docker build -t speedtestdns . && docker run speedtestdns
you can add new DNS servers in Dockerfile with the following format
#########################
#https://example.com/
#xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
my social media - @armondy🙄 - armantahery1381@gmail.com
Project Link: speed-test-dns