fix bug

Determine nreqt.host is a domain name or a ip address,when it's a domain name,resolve it.