DNS Response

The DNS Response check queries the resolver you define to make sure a record exists AND that the value in the response is correct. This is good for ensuring that important DNS records that should not change are quickly identified if they do. e.g. MX record takeovers.

Important

The Monitor Target attribute for this monitor type must be a DNS name. e.g. www.example.com

Monitor Specific Options

NameDescriptionValue TypeExample ValueRequired
Record TypeThe type of DNS record to query for. Types A, CNAME, MX, are supportedStringCNAMETRUE
DNS Resolver IPThe IP address of the DNS server used for name resolution.IP Address1.1.1.1TRUE
Expected DNS ResponseThe IP address or name that is expected to be in the DNS responseIP Address or DNS Name17.54.23.56 or mail.mydomain.comTRUE
DNS Query TimeoutThe time in seconds to wait for a response. Maximum 30sec.Integer3TRUE

Evaluation

No response or a failure to find a matching record and type to the Monitor Target is considered a failure.

Advanced Usage

Different DNS records like MX records for mail servers can have their response queried to expect more than just an IP or simple DNS name. If you configure the Record Type as “MX” and the Expected DNS Response as “10 mail1.mydomain.com.” this will ensure that your mail server record matches.

Last updated on