不再记录查询失败子域信息 优化内存使用

This commit is contained in:
Jing Ling
2020-08-19 02:38:54 +08:00
parent 113c41f4ae
commit ecc1698372
-4
View File
@@ -92,10 +92,6 @@ def deal_output(output_path):
qname = items.get('name')[:-1] # 去除最右边的`.`点号
status = items.get('status')
if status != 'NOERROR':
info['alive'] = 0
info['resolve'] = 0
info['reason'] = status
infos[qname] = info
continue
data = items.get('data')
if 'answers' not in data: