mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 12:57:50 +08:00
不再记录查询失败子域信息 优化内存使用
This commit is contained in:
@@ -92,10 +92,6 @@ def deal_output(output_path):
|
|||||||
qname = items.get('name')[:-1] # 去除最右边的`.`点号
|
qname = items.get('name')[:-1] # 去除最右边的`.`点号
|
||||||
status = items.get('status')
|
status = items.get('status')
|
||||||
if status != 'NOERROR':
|
if status != 'NOERROR':
|
||||||
info['alive'] = 0
|
|
||||||
info['resolve'] = 0
|
|
||||||
info['reason'] = status
|
|
||||||
infos[qname] = info
|
|
||||||
continue
|
continue
|
||||||
data = items.get('data')
|
data = items.get('data')
|
||||||
if 'answers' not in data:
|
if 'answers' not in data:
|
||||||
|
|||||||
Reference in New Issue
Block a user