The Dodgers belted eight home runs in a 12-3 rout of visiting Arizona to set a major league record for Opening Day and tie a franchise record for any game.