hi,

I am debugging an issue and need to better understand how the dns cache
works.

1. The documentation says:

"Typically this means asking for both IPv4 and IPv6 addresses and there may
be a whole set of those returned to libcurl. That set of addresses is then
tried until one works, or it returns failure."

Does this mean the cache will on remember one single address (the first one
that worked)?


2. Say we cache an entry and the name gets re-pointed to a new IP (service
moved to a new IP). Is your expectation that we'd get a code 7 (couldnt
connect to server) next time we try to reuse the IP?

Thanks.
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
  • DNS cache Babacar Ndiaye via curl-library

Reply via email to