cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

DNS → Return a parsed DNS zone

AI-generated

Summary

Parse a specified DNS zone to retrieve its detailed DNS records in a structured format.

Inputs

  • Zone (required) — The name of one of the user’s DNS zones to be parsed.

Output shape

A single parsed DNS zone record set containing DNS entries in a structured format.

The operation requires exactly one DNS zone name as input and returns its parsed DNS records. No additional parameters are supported or required. Errors from the WHM API are validated and passed through if they occur.

Examples

Example 1: Parse the DNS zone 'example.com' to obtain its DNS records.

Set 'Zone' to 'example.com' and execute the operation to get the parsed details of that DNS zone's DNS records.

Links

Discussion