Skip to content

Configurable hosts path for file_lookup#465

Merged
bradh352 merged 1 commit intoc-ares:mainfrom
mmehra:hosts_path_opt
May 3, 2022
Merged

Configurable hosts path for file_lookup#465
bradh352 merged 1 commit intoc-ares:mainfrom
mmehra:hosts_path_opt

Conversation

@mmehra
Copy link
Contributor

@mmehra mmehra commented May 3, 2022

This changeset adds support for configurable hosts file
ARES_OPT_HOSTS_FILE (similar to ARES_OPT_RESOLVCONF).

c-ares does support configurable hosts file via an environment
varibale (ARES_AI_ENVHOSTS). However, if application wants to
support multiple VRF/VPN/namespaces, this environment variable
does not help much

This changeset adds support for configurable hosts file
ARES_OPT_HOSTS_FILE (similar to ARES_OPT_RESOLVCONF).
@mmehra mmehra force-pushed the hosts_path_opt branch from 078f89b to 5373bf8 Compare May 3, 2022 04:45
@bradh352 bradh352 merged commit 810c232 into c-ares:main May 3, 2022
@mmehra mmehra deleted the hosts_path_opt branch May 3, 2022 14:38
@dn-codes
Copy link

does this issue have/require a CVE-ID?

@bradh352
Copy link
Member

@dn-codes this is a feature, not a bug or security fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants