Detecting visitor IP is easy. But how about detecting DNS server ips of a visitor ?
I found this P
The answer is NO. All the server got is a TCP connection to the visitor, that is, an [IP, Port] pair. DNS resolution depends on visitor's local configuration and can be done by a proxy.