# Update DNS zone record This function edits a DNS zone record. To effectively use this function, use the following workflow: 1. Run the function on the DNS zone record to edit. 1. Locate the value that corresponds to the data to edit. 1. Use the values from that zone record to formulate the appropriate parameters. * When you call this function, you include the additional parameters for the selected zone record type. * To change the zone record's IP address, we recommend that you use the script or the function instead. Write-only* servers in a DNS cluster. 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. When you disable the DNS role, the system this function. Endpoint: POST /editzonerecord Version: 11.134.0.5 Security: BasicAuth ## Response 200 fields (application/json): - `metadata` (object) - `metadata.command` (string) The method name called. Example: "editzonerecord" - `metadata.reason` (string) The reason the API function failed when the field is 0. This field may display a success message when a function succeeds. Example: "Bind reloading on hostname using rndc zone: [example.com]\n" - `metadata.result` (integer) * - Success * - Failed: Check the reason field for more details. Enum: 0, 1 - `metadata.version` (integer) The version of the API function. Example: 1