[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DNS timeout - 2.11.0 server



On Wed, Jun 15, 2005 at 11:41:33PM -0700, Chris Taylor wrote:
> The delay is annoying- how do I make it not do any reverse lookups?

Comment out three lines in s_bsd.c/add_connection():

                acptr->hostp = gethost_byaddr((char *)&acptr->ip, &lin);
                if (!acptr->hostp)
                        SetDNS(acptr);

This will stop resolving clients at all.

p.

-- 
Beware of he who would deny you access to information, for in his
heart he dreams himself your master.   -- Commissioner Pravin Lal
http://nerdquiz.sgh.waw.pl/  -- polska wersja quizu dla nerdów ;)