/update_hosts

update hosts for some domain with dns query

Primary LanguagePythonMIT LicenseMIT

update_hosts

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]