Microsoft Windows Server DNS Forwarder Conditional Reverse Localhost NSLookup

Microsoft.Windows.Server.DNS.Forwarder.Conditional.Reverse.Localhost.NSLookup (UnitMonitor)

Testing the forwarder using NSLookup performed against localhost.

Knowledge Base article:

Summary

This monitor checks for Windows Server DNS Conditional Fowarder based on Reverse NSLookUp.

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.Conditional.Reverse
Parent MonitorMicrosoft.Windows.Server.DNS.Forwarder.Conditional.Reverse.NSLookup
CategoryAvailabilityHealth
EnabledTrue
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.Conditional.Reverse.Localhost.NSLookup" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.DNS.Forwarder.Conditional.Reverse" ParentMonitorID="Microsoft.Windows.Server.DNS.Forwarder.Conditional.Reverse.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="UIGeneratedOpStateIdd2b74beb44bf4d94953051ee52e43395" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateIdcb59e9f123e646878e4e703bb2671030" MonitorTypeStateID="InternalScriptError" HealthState="Warning"/>
<OperationalState ID="UIGeneratedOpStateId8fa6e099ac594be6bf1c6987a879096f" MonitorTypeStateID="QueryFailure" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>905</IntervalSeconds>
<ScriptTimeoutSeconds>300</ScriptTimeoutSeconds>
<QueryTimeoutSeconds>10</QueryTimeoutSeconds>
<QueryType>PTR</QueryType>
<HostName>$Target/Property[Type="Microsoft.Windows.Server.DNS.Forwarder"]/DomainName$</HostName>
<Server>127.0.0.1</Server>
<AcceptNonAuthoritative>true</AcceptNonAuthoritative>
</Configuration>
</UnitMonitor>