What Method does a DNS Monitor use to Check the Expected Result of a Text Record?

Document ID : KB000028484
Last Modified Date : 14/02/2018
Show Technical Document Details


This article will discuss the method a DNS monitor uses to match an expected result against text records.


Domain Name System (DNS) monitors check DNS servers for the correct resolution of a hostname. DNS monitors query one or more DNS servers (local or remote) for a given Resource Record and verify its response. When monitoring against a text record (TXT), the result is expected to be an exact match of the string(s) specified in the expected result field of the monitor. For example, google.com returns "v=spf1 include:_spf.google.com ip4: ip4: ~all". Any expected result that is not an exact match of this record will return a 9501 Not Matched error in Cloud Monitor. Please note that substrings and wildcards are not supported in the expected result field, only an exact match.