Actions5
- Records Actions
Records → Get Records Pages Count
AI-generatedOverview
This node interacts with the Cloud DNS API to manage DNS records. Specifically, the 'Get Records Pages Count' operation retrieves the number of pages of DNS records for a given domain, considering optional filters like host, record type, and rows per page. This is useful for paginating through large sets of DNS records when managing domains programmatically.
Use Case Examples
- A user wants to find out how many pages of DNS records exist for a domain 'example.com' with 20 records per page to plan batch processing.
- An administrator needs to filter DNS records by type (e.g., A, CNAME) and get the total pages count to automate DNS audits.
Properties
| Name | Meaning |
|---|---|
| Domain Name | The domain name or reverse zone name whose DNS records you want to query. |
| Host | Optional filter to specify the host of the DNS records to list. |
| Type | Optional filter to specify the type of DNS records to list (e.g., A, CNAME). |
| Rows Per Page | Number of results per page for pagination. Allowed values are 10, 20, 30, 50, or 100. |
| Simplify Output | Whether to simplify the returned data structure for easier consumption. |
Output
JSON
value- The number of pages of DNS records available based on the query parameters.
Dependencies
- Cloud DNS API
Troubleshooting
- Ensure the 'Domain Name' parameter is correctly specified; an incorrect domain may result in empty or failed responses.
- The 'Rows Per Page' must be one of the allowed values (10, 20, 30, 50, 100); otherwise, the API may reject the request.
- If the API returns a 'Failed' status, check the API credentials and network connectivity.
- If 'Simplify Output' is enabled but the output seems incomplete, try disabling it to get full details for debugging.
Links
- Cloud DNS API Documentation - Official documentation for the Cloud DNS API used by this node.
