cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Duplicate DNS Requests using cURL and C-ARES

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 28 Dec 2014 16:31:54 +0100 (CET)

On Tue, 25 Nov 2014, Josh Russell wrote:

> What I'm finding is that when I make a few requests to various URLs on the
> same domain multiple DNS requests are made for the same domain. Once the
> first DNS response returned its cached I don't see any more requests for
> that domain - as expected.
>
> The problem is, if I make enough requests to the same domain before the
> first DNS response returns, I can my client banned by the DNS server if I
> make too many requests.
>
> Is there any way to de-duplicate concurrent requests for the same DNS
> address?

Thanks!

I've added this idea to the TODO now as something we want to get added, as we
don't yet support this.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-28