Hi Team,
While working on this issue, I came to understand that the path to the resolv.conf file is hardcoded, via ./configure.
For testing purposes, we would like to launch a child process with a different path for the resolv.conf file (via an environment variable like CARES_RESOLV_CONF_PATH, say), where we would then be able to specify different resolv.conf files (with different search, nameserver, etc. stanzas, say).
I'd like to work on adding this support, but wanted to ask if such a PR would be welcome?
Hi Team,
While working on this issue, I came to understand that the path to the
resolv.conffile is hardcoded, via./configure.For testing purposes, we would like to launch a child process with a different path for the
resolv.conffile (via an environment variable likeCARES_RESOLV_CONF_PATH, say), where we would then be able to specify differentresolv.conffiles (with differentsearch,nameserver, etc. stanzas, say).I'd like to work on adding this support, but wanted to ask if such a PR would be welcome?