DNS Checks
DNS monitors query a nameserver for a specific record and validate the result against your expected values.
Configuration
Section titled “Configuration”| Field | Description | Default |
|---|---|---|
| Hostname | The domain name to query. | Required |
| Record Type | The DNS record type: A, AAAA, CNAME, MX, TXT, NS, SRV. | A |
| Expected Values | One or more values the response must contain. | None (any result) |
| Nameserver | The DNS server to query. | System default |
| Timeout | Maximum time to wait for the DNS response. | 5s |
How It Works
Section titled “How It Works”- YipYap sends a DNS query for the specified hostname and record type to the configured nameserver.
- If expected values are provided, the response must contain at least one matching record.
- The check passes if the query returns a valid response within the timeout.
- The check fails on NXDOMAIN, SERVFAIL, timeout, or if expected values are not found.
Use Cases
Section titled “Use Cases”- Verifying that an A record points to the correct IP address after a migration.
- Monitoring that MX records are correctly configured for email delivery.
- Checking that a CNAME record resolves to the expected CDN endpoint.
- Validating TXT records for domain verification or SPF/DKIM.
Example: Verify A Record
Section titled “Example: Verify A Record”- Hostname:
api.example.com - Record Type: A
- Expected Values:
93.184.216.34 - Nameserver:
1.1.1.1 - Interval: 5 minutes
Example: Monitor MX Records
Section titled “Example: Monitor MX Records”- Hostname:
example.com - Record Type: MX
- Expected Values:
mail.example.com - Interval: 10 minutes