Update Project 5: make some minor changes

1. Optimize DNS Server
2. Fix the problem when client IP is a private IP address