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: Mon, 24 Jun 2013 14:36:16 +0200

2013/6/24 Maxim Ruban <m.ruban_at_drweb.com>

> I still suggest to obtain dns-prefixes via GetAdaptersAddresses call,
> when LOCALDOMAIN and gethostname give nothing.
>

I don't know much about DNS in Windows, but what you are proposing sounds
very good.

Are there any rules for when LOCALDOMAIN is set, and how does the value
relate to the GAA() function?

-- 
Tommie
Received on 2013-06-24