fix parse dscp
use gethostbyaddr in mysql connect