Microsoft Windows Server DNS Forwarder IP Address Unconditional NSLookup

Microsoft.Windows.DNSServer.2016.Forwarder.IPAddress.Unconditional.NSLookup (UnitMonitor)

Tests a single target of the forwarder.

Knowledge Base article:

Summary

This monitor is disabled by default as your DNS server may not be able to reach the internet to resolve www.microsoft.com . If your DNS server can reach the internet and you wish to test your unconditional forwarder with that record, simply enable the monitor via an override. You may also target a different host via override if www.microsoft.com is not suitable to your needs.

Configuration

Interval Seconds: The interval at which this monitor performs a NSLOOKUP.

Script Timeout Seconds: The total time SCOM will allow the script to run before terminating it.

Query Timeout Seconds: Used for the -timeout option of NSLOOKUP.

Query Type: Used for the -querytype option of NSLOOKUP. Acceptable values are: A, CNAME, PTR, NS, or SOA.

Host Name: The host record to be resolved by NSLOOKUP.

Server: The server to which NSLOOKUP should direct the query.

Accept Non Authoritative: Whether or not SCOM should accept a Non-authoritative response to NSLOOKUP.

Element properties:

TargetMicrosoft.Windows.DNSServer.2016.Forwarder.IPAddress.Unconditional
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledFalse
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.DNSServer.2016.NSLookup.Monitor
RemotableTrue
AccessibilityPublic
RunAsMicrosoft.Windows.DNSServer.2016.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.DNSServer.2016.Forwarder.IPAddress.Unconditional.NSLookup" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.DNSServer.2016.Forwarder.IPAddress.Unconditional" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RunAs="Microsoft.Windows.DNSServer.2016.ActionAccount" TypeID="Microsoft.Windows.DNSServer.2016.NSLookup.Monitor" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateIdaeb7b874669d4263a546d42ceaa0b77c" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateIdb2d4e5ba153e4f7db24df0b642efc993" MonitorTypeStateID="InternalScriptError" HealthState="Warning"/>
<OperationalState ID="UIGeneratedOpStateIdbaa650c7bd6b42cbb5f9d8168f68d04c" MonitorTypeStateID="QueryFailure" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>907</IntervalSeconds>
<ScriptTimeoutSeconds>300</ScriptTimeoutSeconds>
<QueryTimeoutSeconds>10</QueryTimeoutSeconds>
<QueryType>A</QueryType>
<HostName>www.microsoft.com.</HostName>
<Server>$Target/Property[Type="Microsoft.Windows.DNSServer.2016.Forwarder.IPAddress"]/IPAddress$</Server>
<AcceptNonAuthoritative>true</AcceptNonAuthoritative>
</Configuration>
</UnitMonitor>