Get DNS records and history
get_dns_recordsRead-onlyIdempotent
Get the DNS records Oh Dear last saw for a monitor, plus the history of changes to them, so you can spot when a record changed. This can return a lot of data, so start with limit 3 or 4. See https://ohdear.app/docs/api/dns-records.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of DNS history items to return (default: 10, max: 100) | |
| monitor_id | Yes | The ID of the monitor to get DNS records for |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| monitor | Yes | ||
| view_url | Yes | ||
| dns_records | Yes | Current and historical DNS results. | |
| latest_record | No | ||
| dns_records_count | Yes |