DNS check quickstart
By the end of this guide you’ll have DNS resolution monitoring on an existing HTTP check.
Prerequisites
Section titled “Prerequisites”- An existing HTTP check.
1. Enable DNS monitoring
Section titled “1. Enable DNS monitoring”-
Open the HTTP check, Settings.
-
Toggle Monitor DNS on. Save.
curl -X PUT https://api.siteqwality.com/http/job/$JOB_ID \ -H "Authorization: Bearer $SITEQWALITY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "monitor_dns": true }'Or set it at create time:
curl -X POST https://api.siteqwality.com/http/job \ -H "Authorization: Bearer $SITEQWALITY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "friendly_name": "API homepage", "method": "GET", "uri": "https://api.example.com/", "monitor_tls": true, "monitor_dns": true, "timeout_ms": 15000, "run_interval_seconds": 600, "group_notification_ids": [] }'2. View the DNS check
Section titled “2. View the DNS check”The HTTP check page shows a DNS sub-card with current status and the registrable domain SiteQwality is resolving.
curl https://api.siteqwality.com/dns/job/$DNS_JOB_ID \ -H "Authorization: Bearer $SITEQWALITY_API_KEY"The DnsJob response gives current_status, domain, and last_run_at.
What’s next
Section titled “What’s next” DNS reference Status enum and field details.
TLS checks The other paired-check type.