Network Management

Unable to Add DNS Server to IPAM

This article provides brief information and steps to resolve the issue when you are unable to add Windows DNS Server to IPAM.

First published date

10/26/2018 6:27 PM

Last published date

10/26/2018 6:27 PM

Overview

This article  provides brief information and steps to resolve the issue when you are unable to add Windows DNS Server to IPAM. 

The following error appears: 
 

ERROR SolarWinds.Orion.Pollers.Framework.PollerBase (null) - Error while Querying SolarWinds.Net.WMI.WmiResponseException: Generic failure  Scope: a.b.c.d\root\MicrosoftDNS[\a.b.c.d\dnssolarwinds] ErrorCode: 0x80041001 

System.Management.ManagementException: Generic failure 
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at SolarWinds.Net.WMI.WmiDataReader.Read()
--- End of inner exception stack trace ---
at SolarWinds.Net.WMI.WmiDataReader.Read()
at SolarWinds.IPAM.Pollers.DnsZone.DnsZoneWmiPoller.GetInstances[T]()

ERROR SolarWinds.Orion.Pollers.Framework.PollerBase (null) - Exception during adding Zone record to results.

SolarWinds.Internationalization.Exceptions.LocalizedExceptionBase:

Username/Password provided is incorrect.
You might be trying to connect with a credential that might be valid on some computers and may not exist on other computers.
Check your firewall settings

SolarWinds.Net.WMI.WmiResponseException: Generic failure  Scope: a.b.c.d\root\MicrosoftDNS[\a.b.c.d\dnssolarwinds] ErrorCode: 0x80041001 

System.Management.ManagementException: Generic failure 

at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)

at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()

at SolarWinds.Net.WMI.WmiDataReader.Read()
--- End of inner exception stack trace ---

at SolarWinds.Net.WMI.WmiDataReader.Read()
at SolarWinds.IPAM.Pollers.DnsZone.DnsZoneWmiPoller.GetInstances[T]()
--- End of inner exception stack trace ---
at SolarWinds.IPAM.Pollers.DnsZone.DnsZoneWmiPoller.GetInstances[T]()
at SolarWinds.IPAM.Pollers.DnsZone.DnsZoneWmiPoller.GetDnsZoneResult(DnsZonePollerSettings settings)

 

Product section

IP Address Manager

Cause

This is an issue on the DNS server.

Resolution

NOTE: Run the following steps from the IPAM server, and then send the output to our Support team. 

  1. Click Start > Run, and enter wbemtest.
  2. Click OK
  3. Click Connect.
  4. In Namespace, enter \\<ipaddress of DNS server>\root\MicrosoftDNS.
  5. Enter the username and password used for IPAM.
  6. Click Connect, and then click Query.
  7. Enter the following query:
SELECT Name FROM MicrosoftDNS_Zone
  1. Click Apply

You should See the DNS Zones, similar to MicrosoftDNS_Zone=<no key> for each zone.

  1. Double-click one of the entries above to see the zone name at the bottom.
  2. Save screen shots of the output, and send them to Support.

 

Note: The same issue is experienced when running the Wbemtest locally on the DNS server. This confirms that the issue is with the DNS server and not an issue within IPAM.

 

****Make sure Job Engine and Collector are working properly via the 

C:\ProgramData\Solarwinds\JobEngine\logs

C:\ProgramData\Solarwinds\JobEnginev2\logs

C:\ProgramData\Solarwinds\Collector\logs

Any errors found results in a possible repair. ****Contact support for further investigation.

 

Article on possible repair of Job Engines and collector services:

Repair a failing Job Engine, Collector, and Information service in Orion Platform