Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't override ARES_OPT_DOMAINS with the values in resolv.conf #5

Conversation

davidsansome
Copy link

I noticed that since commit 125b1a8, "domains" and "search" lines in resolv.conf are overriding search domains set by the ARES_OPT_DOMAINS option.

This patch fixes init_by_resolv_conf to get the old behaviour back where ARES_OPT_DOMAINS options take priority, but still makes the last "domain" or "search" resolv.conf entry take priority over the first if the user didn't pass in any ARES_OPT_DOMAINS.

@bagder
Copy link
Member

bagder commented Dec 6, 2012

Please send the patch to the mailing list for review/discussions

@bagder
Copy link
Member

bagder commented May 15, 2014

Please post your patch(es) to the mailing list so that you get your necessary reviews and acks, as otherwise they won't be merged: http://c-ares.haxx.se/mail/c-ares-archive-2014-05/0000.shtml

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.

None yet

2 participants