code: func (api *API) UpdateDNSRecord(zoneID, recordID string, rr DNSRecord) error {
  	rec, err := api.DNSRecord(zoneID, recordID)
  	if err != nil {
  		return err
  	}
  	// Populate the record name from the existing one if the update didn't
  	// specify it.
  	if rr.Name == "" {
  		rr.Name = rec.Name
  	}
  	rr.Type = rec.Type
  	uri := "/zones/" + zoneID + "/dns_records/" + recordID
  	res, err := api.makeRequest("PATCH", uri, rr)
  	if err != nil {
  		return errors.Wrap(err, errMakeRequestError)
  	}
  	var r DNSRecordResponse
  	err = json.Unmarshal(res, &r)
  	if err != nil {
  		return errors.Wrap(err, errUnmarshalError)
  	}
  	return nil
  }
docs: // UpdateDNSRecord updates a single DNS record for the given zone & record
  // identifiers.
  //
  // API reference: https://api.cloudflare.com/#dns-records-for-a-zone-update-dns-record