cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: about dns round robin

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 28 Oct 2015 10:44:34 +0100 (CET)

On Wed, 28 Oct 2015, Peng Terry Wang wrote:

> For a web server has multiple DNS name(DNS round robin),I found
> c-ares-1.10/libcurl7.39 doesn't cache the server dns in a same session, the
> round robin still works in the session, look like it always query dns server
> for the web server fqdn instead of use dns cache. The
> libcurl7.32/c-ares1.9.1 doesn't has the issue, could you please comment if
> there are the DNS query related changes around the area between the two
> c-ares/libcurl version? Thanks!

I can't recall any decision or active change that we've made on purpose to not
have the DNS cache used (in either of these projects). Sounds like a potential
bug to me.

Can you provide a receipe for how to reproduce against a public URL/name?

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