Maybe i didnt see forest because of an tree in front of me but i didnt found it by the examples. I add a new a record thats works fine but how can update a new serial. thanks
The serial is a field with the name "serial" of the $params aray of the zone. Basically you can use: $zone = $remote->dns_zone_get(......) to get the zone, then increase the serial which is in $zone['serial'] and then pass $zone as $params array to the dns_zone_update function of the api.