[exim-dev] [Bug 514] log slow DNS queries

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 514] log slow DNS queries
------- You are receiving this mail because: -------
You are the QA contact for the bug.

http://bugs.exim.org/show_bug.cgi?id=514




--- Comment #9 from Philip Hazel <ph10@???> 2008-11-20 09:01:32 ---
On Thu, 20 Nov 2008, Derrick wrote:

> I've made changes per the suggestions. I feel that in order to properly test
> this, I'd need a nameserver that I can tinker with by making it delay
> responses.
>
> Also I cannot properly test all the various ways that host lookups are done,
> since most are excluded by preprocessor statements based on the available
> functions.
>
> Any ideas for testing?


If I remember correctly (and I've now been away from Exim for over a
year, so maybe I don't :-), the test suite contains a fake "nameserver"
that can be made to delay and otherwise give non-normal responses. Grep
the Exim code for stuff about testing and take a look at the scripts and
other documentation in the test suite.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email