update hosts for some domain with dns query
- clone 源码
git clone https://github.com/Luoxin/update_hosts.git
- 安装依赖文件
pip install -r requirements.txt
- 运行程序(请使用超级管理员身份运行)
python update_hosts.py update [--l <domin list>] [--y]
- 重发布页下载编译完成的文件
https://github.com/Luoxin/update_hosts/releases
- 运行程序(请使用超级管理员身份运行)
update_hosts update [--l <domin list>] [--y]