wine notes & /etc/resolv.conf

Andreas Mohr andi at
Thu Nov 11 03:35:12 CST 2004


On Wed, Nov 10, 2004 at 10:13:27PM +0100, Grant Williamson wrote:
> Hi,
> is there a patch anywhere, which will allow wine to reread the 
> /etc/resolv.conf file.
Wine doesn't read the resolv.conf file, at all (ok, I didn't check,
but I'd be very surprised if it did).

Wine uses bog-standard networking support APIs, there's no magic involved
in connecting to the net.

As such the problem is probably that Wine makes use of an API that somehow
doesn't take into account a changed name server configuration.

The best way to find out how Wine does name lookup in case of your
application is to do
strace -f wine ... &>/tmp/wine.log
(hopefully no wrapper script will get in the way)

Then figure out why this API doesn't react to resolv.conf changes,
if this is abnormal behaviour or if Wine should use a different method
to do name lookup.

Andreas Mohr

More information about the wine-devel mailing list