Subject: Callback for DNS query

Callback for DNS query

From: Alexey Simak <alexeysimak_at_gmail.com>
Date: Fri, 9 Jan 2009 13:32:11 +0200

Hi Daniel,

We use c-ares in a project and need to log DNS requests
sent to DNS server. Unfortunately c-ares provides to
callback only received DNS answers.

I suggest to call callback also before sending request to
server. To implement this feature we can use existing
callback( need to add new status code in this case )
or introduce a new request callback.

Which way is preferable from your point of view?

Thanks,
Alexey Simak
Received on 2009-01-09