更新massdns

使用--filter参数避免生成大文件且加快结果处理
This commit is contained in:
Jing Ling
2020-08-13 03:00:19 +08:00
parent 14a9ed49ce
commit 83935fd804
9 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -641,7 +641,7 @@ def call_massdns(massdns_path, dict_path, ns_path, output_path, log_path,
f'--hashmap-size {concurrent_num} --resolvers {ns_path} ' \
f'--resolve-count {resolve_num} --type {query_type} ' \
f'--flush --output J --outfile {output_path} ' \
f'--root --error-log {log_path} {dict_path}'
f'--root --error-log {log_path} {dict_path} --filter OK'
logger.log('DEBUG', f'Run command {cmd}')
subprocess.run(args=cmd, shell=True)
logger.log('DEBUG', f'Finished massdns')