How to Create Devices and Targets
How it Works
DNS Server monitoring queries a specified DNS server in order to resolve a specific IP address.
Creating a Target
In this field, you can specify the URL you would like to resolve. The address should be formed exactly as you would use it in a browser such as www.example.com. Do not include “http://“.
DNS Server to Use
To query the particular DNS server, select the Custom radio button and enter the URL name, IPv4 or IPv6 address of the DNS server you wish to poll. By default, we use the a.root-servers.net root server. If you do not specify a custom DNS server, the letter.root-servers.net servers (where “letter” is a letter from A to M) will be polled in a random order.
Record Type
Select which NS record type to query.
The record type only defines the content of the query, it does not automatically define what the expected response will look like. You must still explicitly define the expected response in the Expected Responses section based on your query. In addition, the Authority Resource Records and Additional Resource Records fields can also be used to validate the query response depending on the exact configuration.
Recursion Desired
Use this option to enable or disable the recursion desired (RD) flag in outgoing DNS queries:
- NO – the DNS query will not send an RD flag. Use it if you would like to perform a single iteration to see if the selected DNS server resolves the target in one hop or not.
- YES – Dotcom-Monitor will request that the DNS server performs recursion for the monitoring service (i.e., the remote server will scan a DNS tree for the monitoring service in search of a required result).
Most applications such as web browsers enable the RD flag by default so that they receive a successful DNS resolution even if the DNS server queried does not have a valid response. In this case the queried DNS server will contact a top-level DNS server and follow the resulting path until it has received an authoritative result.
Traversal Mode
Defines how a DNS responses with a required record type are interpreted:
- Full Recursion – responses only from end-leaves of the DNS tree are verified for the expected response. NOTE that you will encounter more random failures from root servers timing out if you require a successful response from all root servers. This does not necessarily indicate an outage, rather, it may indicate that one or more root servers are under a heavy load and did not respond in time.
- Stop on the first positive answer – only the first found response with the specified record type is further analyzed. The first response with a required record type is considered the end of a DNS tree.
- Single Query – the first received response from a single DNS query is verified for the expected response.
By default, for DNS lookup we use UDP and automatically switch to TCP when a DNS packet size hits the UDP limit of 512 bytes. You can explicitly set what protocol must be used for DNS lookup by selecting the necessary one in the Protocol list.
Time Validation Threshold (in seconds)
Enter the number of seconds the system should wait for a response from the target resource before returning an error. If this is left blank the default timeout is 120 seconds.
Ignore Timeouts From (Servers Timeout Filter)
When querying multiple servers it is common to receive a timeout from one or more servers. This filter allows you to specify whether you want to ignore such timeouts or if you wish to receive alerts for these timeouts. Options include an alert on all timeouts, filtering out network and time-out errors from exact hosts, or a range of nodes based on a mask:
- “*” – all network-related and timeout errors are included and will trigger alerts.
- empty field – the engine ignores all network-related and timeout errors.
If a mask is added the engine ignores all network-related and timeout errors of the matching host or IP address.
Expected Responses
Note that the Authority and Additional options are only applied when a custom DNS server is specified in the DNS Server field (not a ROOT server or an IP address).
Answer: If the returned string result includes the value entered in the expected answer field, the task returns a success. You can use logical expressions to define more complex results.
Authority: Parses the response to retrieve the value in the Authority section.
Additional: Shows additional resource records returned. If there are multiple DNS servers in the list this may return quite a few results.
Determines which mode to utilize to resolve an NS address. For more details, see DNS Mode Option.