Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: [EXTERNAL] HTTPS records
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 12 Dec 2022 11:42:28 +0100 (CET)
On Mon, 12 Dec 2022, Niall O'Reilly wrote:
>> And getaddrinfo() does not return TTL.
>
> Arguably since RFC1034 (1987) and clearly since RFC8767 (2020), this seems
> to make addresses obtained from the DNS by getaddrinfo() unsuitable for
> cacheing.
I disagree. Completely switching off caching would make repeated requests
significanly slower in several scenarios.
I would perhaps rather say that because we do not get *any* reports about
problems with the existing caching, it might imply that it actually works
fairly well. In spite of things.
While a huge share of all DNS resources use a TTL lower than 60, it seems in
practise they are only rarely actually gone/not working after that time.
I suppose we can at some point discuss lowering the default cache timeout.
Date: Mon, 12 Dec 2022 11:42:28 +0100 (CET)
On Mon, 12 Dec 2022, Niall O'Reilly wrote:
>> And getaddrinfo() does not return TTL.
>
> Arguably since RFC1034 (1987) and clearly since RFC8767 (2020), this seems
> to make addresses obtained from the DNS by getaddrinfo() unsuitable for
> cacheing.
I disagree. Completely switching off caching would make repeated requests
significanly slower in several scenarios.
I would perhaps rather say that because we do not get *any* reports about
problems with the existing caching, it might imply that it actually works
fairly well. In spite of things.
While a huge share of all DNS resources use a TTL lower than 60, it seems in
practise they are only rarely actually gone/not working after that time.
I suppose we can at some point discuss lowering the default cache timeout.
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2022-12-12