This tool is used to query DNS servers for domain name resolution and automatically detect the delay of IP addresses. The usage scenario is limited. It is recommended to compile and configure the needed domain names manually.
The process consists of three steps:
1. Resolving the domain name to an A-class IP address using a DNS server.
2. Using the ping command to check the delay of the resolved IP address.
3. Selecting the IP address with the lowest delay and generating a hosts file.
The hosts file generated by the tool includes a list of domain names and their corresponding IP addresses. The tool uses multiple DNS servers and ping servers.
The following is a list of dependencies:
* dns: GitHub repository
* ping: GitHub repository
* govcl: GitHub repository
The following are the DNS servers used by the tool:
* 1.1.1.1
* 1.2.4.8
* 4.2.2.1
* 8.8.8.8
* 8.20.247.20
* 8.26.56.26
* 9.9.9.9
* 45.11.45.11
* 64.6.64.6
* 74.82.42.42
* 77.88.8.8
* 80.80.80.80
* 84.200.69.80
* 94.140.14.14
* 101.101.101.101
* 101.226.4.6
* 114.114.114.114
* 119.29.29.29
* 156.154.70.1
* 168.126.63.1
* 180.76.76.76
* 180.184.1.1
* 182.254.118.118
* 185.222.222.222
* 195.46.39.39
* 199.85.126.10
* 202.120.2.100
* 208.67.222.222
* 210.2.4.8
* 223.5.5.5