[PATCH] iphlpapi: Retrieve DNS servers from /etc/resolv.conf if possible

Huw Davies huw at codeweavers.com
Thu Feb 9 02:52:50 CST 2017


On Wed, Feb 08, 2017 at 08:50:47AM -0700, Erich E. Hoover wrote:
> On Wed, Feb 8, 2017 at 8:20 AM, Bruno Jesus <00cpxxx at gmail.com> wrote:
> > ...
> > I do have /usr/include/resolv.h but none of the #defines required in
> > iphlpapi_main.c are met.
> 
> Would you mind sending me your config.log?  It seems odd to me that
> __res_get_state and __res_getservers would be unavailable, maybe a
> missing linker option?  It would also be interesting to see if
> res_get_state and res_getservers exist on your test system.
> 
> > And I still think it can act as a fallback for overly restrictive
> > systems on embedded platforms.
> 
> I think that could make sense, but we probably want to emit some kind
> of warning if that's the case - otherwise we will never find out about
> problems like the one it seems like you've encountered.

If this does go in, we'll want some kind of caching.

Huw.



More information about the wine-devel mailing list