Added old_cname parameter to add_cname API call.