From: curl-library <curl-library-boun...@cool.haxx.se> On Behalf Of Tejas via curl-library Sent: Donnerstag, 4. Februar 2021 10:18 > > I noticed that there are two errors related to DNS resolution in libcurl > > 1. "Resolving timed out after <number> milliseconds" (snip) > 2. "Could not resolve host: <hostname>" (snip) > What is the the difference between both of them? > During failure, the first one seems to depend on (connect?) timeout and the > second one is more or less instant.
I'd assume (1) is used if the DNS server does not respond at all within the timeout and (2) is used if the DNS server responds with something like "I don't know this name" or "I don't have an IP address for this name". The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. Dynatrace Austria GmbH (registration number FN 91482h) is a company registered in Linz whose registered office is at 4020 Linz, Austria, Am Fünfundzwanziger Turm 20 ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html