1. Support domain name.
2. log ip address if something wrong happen.