# Return domain's DNS zone configuration (deprecated) This function returns a domain's DNS zone configuration. * This function is . Use WHM's function. * You include either the or the parameters. * When you disable the DNS role, the system this function. On servers that run CentOS 7, you may see a warning about the absence of SPF resource records on DNS. * This warning is relevant on CentOS 7 servers, because RFC 7208 deprecated SPF records. CentOS 7 servers use TXT records instead of SPF records. * Red Hat 7.1 and CentOS 7.1 both contain , which is an updated version of BIND that complies with RFC 7208. To resolve this issue, update your operating system to a version that contains the updated version of BIND. For more information, read the Red Hat Bugzilla case about SPF record errors. Endpoint: GET /dumpzone Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `domain` (string, required) The zone record's domain. Example: "example.com" - `zone` (string) The zone file's name. Example: "example.com.db" ## Response 200 fields (application/json): - `data` (object) - `data.zone` (array) An array of objects of zone information. This array contains the array of objects. - `metadata` (object) - `metadata.command` (string) The method name called. Example: "dumpzone" - `metadata.reason` (string) The reason the API function failed when the field is . This field may display a success message when a function succeeds. Example: "Zone Serialized" - `metadata.result` (integer) * - Success. * - Failed. Check the field for more details. Enum: 0, 1 - `metadata.version` (integer) The version of the API function. Example: 1