ares_getaddrinfo satisfied by file

Daniel Stenberg daniel at haxx.se
Thu Jan 16 09:50:57 CET 2025


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?

-- 

  / daniel.haxx.se || https://rock-solid.curl.dev


More information about the c-ares mailing list