解决massdns在Centos运行异常问题

This commit is contained in:
Jing Ling
2020-05-10 03:26:58 +08:00
parent 9033b82896
commit 739518eac9
+1 -1
View File
@@ -582,7 +582,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'--error-log {log_path} {dict_path}'
f'--root --error-log {log_path} {dict_path}'
logger.log('INFOR', f'执行命令 {cmd}')
subprocess.run(args=cmd, shell=True)
logger.log('INFOR', f'结束执行massdns')