[horde] Disable reverse DNS check

Jan Schneider jan at horde.org
Tue Sep 1 08:38:36 UTC 2009


Zitat von Paul van der Vlis <paul at vandervlis.nl>:

> Jan Schneider schreef:
>> Zitat von Paul van der Vlis <paul at vandervlis.nl>:
>>
>>> Hello,
>>>
>>> The login in Horde is very slow (15-17 seconds) from the local network
>>> on a school. The server is in a DMZ on a school.
>>>
>>>>> From the internet it's OK.
>>>
>>> The server cannot do a reverse DNS lookup, that's the problem.
>>> But I don't like to make a reverse DNS of the local netwerk (there is a
>>> reverse DNS, but it's difficult to reach because of a firewall).
>>>
>>> Is there a way to disable the reverse-DNS lookup?
>>
>> With Horde 3.3.4 and Net_DNS installed you can specify timeouts and
>> number of retries in the configuration.
>
> Sorry, I am using an older version, at the moment 3.1.3 and I will
> replace it with 3.2.2 (because of Debian security support).
>
> Do you have an idea what I could do to disable the reverse-DNS with this
> older version?  So far I see it does not use Net_DNS.

Search for gethostbyaddr() in the code and comment it out.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list