http://bugs.winehq.org/show_bug.cgi?id=22064
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2010-03-20 13:20:23 --- (In reply to comment #3)
This relay log does not contain the GetPerAdapterInfo function you mentioned.
(snip)
002b:Call iphlpapi.GetAdaptersAddresses(00000002,00000000,00000000,00000000,00328270) ret=0043cc73
Okay, that call also gets per-adapter DNS info. Wine doesn't have such a concept, because Unix doesn't really either. The concept is actually kind of braindead: how do you know which adapter you want to use, until you know which address you're trying to reach? Anyway, modifying GetAdaptersAddresses to include the DNS servers might be worth a try.