Microsoft Windows Server DNS Forwarder Unconditional Localhost NSLookup

Microsoft.Windows.Server.DNS.Forwarder.Unconditional.Localhost.NSLookup (UnitMonitor)

Testing the forwarder using NSLookup performed against localhost.

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.Server.DNS.Forwarder.Unconditional
Parent MonitorMicrosoft.Windows.Server.DNS.Forwarder.Unconditional.NSLookup
CategoryAvailabilityHealth
EnabledFalse
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.DNS.NSLookup.Monitor
RemotableTrue
AccessibilityPublic
RunAsMicrosoft.Windows.Server.DNS.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.DNS.Forwarder.Unconditional.Localhost.NSLookup" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.Server.DNS.Forwarder.Unconditional" ParentMonitorID="Microsoft.Windows.Server.DNS.Forwarder.Unconditional.NSLookup" Remotable="true" Priority="Normal" RunAs="Microsoft.Windows.Server.DNS.ActionAccount" TypeID="Microsoft.Windows.Server.DNS.NSLookup.Monitor" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateIdef89efe57f51441590dcb27ca1a51f0b" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateId8c47dc0fbcae4727a74ae5f7c1e54344" MonitorTypeStateID="InternalScriptError" HealthState="Warning"/>
<OperationalState ID="UIGeneratedOpStateIddcda0bcabfd547e29f819321248e1318" MonitorTypeStateID="QueryFailure" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>906</IntervalSeconds>
<ScriptTimeoutSeconds>300</ScriptTimeoutSeconds>
<QueryTimeoutSeconds>10</QueryTimeoutSeconds>
<QueryType>A</QueryType>
<HostName>www.microsoft.com.</HostName>
<Server>127.0.0.1</Server>
<AcceptNonAuthoritative>true</AcceptNonAuthoritative>
</Configuration>
</UnitMonitor>