Sometimes it would be a great solution to have a second DNS name for a server. For example, if you migrate your network shares to another server.

Step 1: Add a name to your server
With the command netdom you will be able to add a second name to your server. Run this command in an elevated command prompt.

netdom computername CurrentComputerName.domain.local /ADD SecondComputerName.domain.local

You can check if the name has been added with the follow command:

netdom computername CurrentComputerName.domain.local /enum

Step 2: Register the new

To sync the new computername with the DNS servers, use the following command:

ipconfig /registerdns

Step 3: Allow multiple computer names

It is possible that you cannot access and/or see network shares via the new computername. Newer Windows versions can block this by default, but you can enable this option by adding a registry key:

Registry location: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
DWORD name: DisableStrictNameChecking
DWORD value: 1

Categories:

Comments are closed