Forum Moderators: phranque
However GETTING the remote host requires that for each incoming request, your server must issue an outgoing request to the DNS system, in order to resolve the remote hostname from the IP address provided in the client's request. This is what slows down the server: It must wait for the rDNS request to complete before serving the original client's request.
Also, if the rDNS lookup request fails, then the client request fails, and that makes *your* site look broken.
So, doing remote hostname lookups incurs a significant communication delay, and incurs an additional level of potential failure for your site.
For these reasons, a locally-stored database from GeoIP or a similar service is what is required to assure a responsive server.
Jim
[edited by: jdMorgan at 11:51 pm (utc) on April 1, 2007]