When adding a domain to Helm, it fails and I get the following in the error log:
The Microsoft DNS Server (SERVERNAME) is currently unavailable.
If you turn on debugging, you will see that dnscmd.exe is not able to create the domain on the remote machine.
You can test this by going to a command prompt and typing
"C:\Program Files\WebHost Automation\Helm\System\dnscmd.exe" REMOTESERVERNAME /ZoneAdd testdomain.com /Secondary REMOTESERVERIP /file testdomain.com.dns
where REMOTESERVERNAME is the NetBIOS name of your remote server, and REMOTESERVERIP is the IP of your remote server.
If the RPC service on the remote machine is disabled, you will get this error:Command failed: RPC_S_SERVER_UNAVAILABLE 1722 (000006ba)
This is usually caused by a Windows update which disables the RPC for MS DNS on the machine, meaning that you cannot connect to that machine and create DNS files.
Login to the remote machine then:
1. On the start menu click 'Run' and then type 'Regedit' and then press enter.
2. Navigate to the following registry location:
3. Select Registry Key RpcProtocol and changed it from 4 to FFFFFF.
4. Restart the DNS Service
This should fix the issue.