ares_getaddrinfo satisfied by file

Brad House brad at brad-house.com
Thu Jan 16 14:53:51 CET 2025


Since "struct ares_addrinfo" is always allocated internally to c-ares, 
as long as any new members are added to the *end* of the structure, it 
should be ABI compatible to add some sort of flags for that purpose 
without much issue.

On 1/16/25 3:50 AM, Daniel Stenberg via c-ares wrote:
> Hey,
>
> Related to my desire to get the HTTPS record for a hostname, it would 
> be awesome if I could figure out if an ares_getaddrinfo() result was 
> satisfied by /etc/hosts so that I could avoid asking for a HTTPS 
> resource for that.
>
> Is it possible already? Should/could we do that? Thoughts?
>


More information about the c-ares mailing list