[update] fix var type
[bugfix] get dns_log after thread free