Project

General

Profile

Disable reverse IP lookup

Added by Alexandros Karypidis about 14 years ago

Hi,

I'm using Redmine 0.9.0 (RC) on Centos 5.4 with Ruby 1.8.5.

How can I instruct "Webrick" to stop doing a reverse DNS lookup on connecting clients?

My machine is in an intranet without a DNS server. Every time a client that is not in /etc/hosts make a request (usually laptops that get an IP from a pool), it takes ~30secs for things to time out and the response to be returned. To make things worse, the server seems to be single-threaded, so all clients (even those in /etc/hosts) that make an HTTP request also have to wait.