Edin Dzeko eventually managed to break through Crystal Palace's stubborn defence to secure all three points for Manchester City.