lennylxx / ipv6-hosts

Fork of https://code.google.com/archive/p/ipv6-hosts/, focusing on automation
MIT License
4.46k stars 1.03k forks source link

You must specify the input hosts file (only one). #265

Closed turbosuan closed 6 years ago

turbosuan commented 6 years ago

what does it mean?

phy25 commented 6 years ago
usage: update_hosts [OPTIONS] FILE
A simple multi-threading tool used for updating hosts file.
Options:
  -h, --help             show this help message and exit
  -s DNS                 set another dns server, default: 2001:4860:4860::8844
  -o OUT_FILE            output file, default: inputfilename.out
  -t QUERY_TYPE          dig command query type, default: aaaa
  -c, --cname            write canonical name into hosts file
  -n THREAD_NUM          set the number of worker threads, default: 10

https://github.com/lennylxx/ipv6-hosts/blob/0fddd273779f068bc1fba235969c877b42a9d095/update_hosts.py#L266-L268

AnyWAT commented 6 years ago

管理、更新系统多个Hosts https://blog.zhangruipeng.me/Hozz/ https://github.com/ppoffice/Hozz