Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Get the DNS name of target machine


1 reply to this topic

FerFemNemBem

FerFemNemBem
  • Members
  • 27 posts

Posted 22 October 2001 - 20:30

Hi,

is there a way to get the full Qualifyed DNS-Name of the target machine in InstallScript?

The only way I found is to search the Registry for

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\

Hostname
Domain

is this the right way?

Thank You.

FFNB


Thilak

Thilak
  • Members
  • 9 posts

Posted 25 October 2001 - 14:13

Yes, those are the entries to be taken.  The domain regValue would be present if the user/administrator has provided the domain name in the Network properties -> TCP/IP properties -> DNS -> Domain entry.