Subject: Re: Resolving names without dns-suffix on windows

Re: Resolving names without dns-suffix on windows

From: Tommie Gannert <tommie_at_spotify.com>
Date: Tue, 25 Jun 2013 09:45:40 +0200

2013/6/24 René Berber <r.berber_at_computer.org>

> On 6/19/2013 11:08 AM, Maxim Ruban wrote:
>
> I think, it would be good on windows platform to initialize domains list
>> with results of GetAdaptersAddresses call (DnsSuffix field in
>> IP_ADAPTER_ADDRESSES structure)
>> if no domains were deduced from LOCALDOMAIN or gethostname.
>>
>
> I been using the patch and it works fine, perhaps it solves the problem
> you are seeing. The patch just changes the order in which the domain is
> discovered.
>

You're adding a call to config_domain() (which does set_search()) that
wasn't there before. Good sign. ;)

Looks to me like it would be exactly what Maxim is after.

-- 
Tommie
Received on 2013-06-25