Joc Pederson and Enrique Hernandez each hit two of the Los Angeles Dodgers’ eight home runs, which set a major league record for opening day and tied the franchise record for any game, during a 12-5 victory over the Arizona Diamondbacks on Thursday.

Hernandez, Austin Barnes and Corey Seager all homered in the fourth inning to chase Arizona ace Zack Greinke.

Max Muncy, Cody Bellinger and Hernandez then homered in the seventh for the power-packed Dodgers, whose pursuit of a third straight NL pennant got off to a thrilling start.

Los Angeles Dodgers starting pitcher Hyun-Jin Ryu throws to the plate during the first inning of a baseball game against the Arizona Diamondbacks Thursday, March 28, 2019, in Los Angeles. (AP Photo/Mark J. Terrill)
Los Angeles Dodgers starting pitcher Hyun-Jin Ryu throws to the plate during the first inning of a baseball game against the Arizona Diamondbacks Thursday, March 28, 2019, in Los Angeles. (AP Photo/Mark J. Terrill)

Adam Jones and Christian Walker went deep for the Diamondbacks, but their pitching staff’s eight homers allowed also set a franchise record.

___

Fans stand for the national anthem as a C-17 Globemaster flies over before an opening day baseball game between the Los Angeles Dodgers and the Arizona Diamondbacks Thursday, March 28, 2019, in Los Angeles. (AP Photo/Mark J. Terrill)
Fans stand for the national anthem as a C-17 Globemaster flies over before an opening day baseball game between the Los Angeles Dodgers and the Arizona Diamondbacks Thursday, March 28, 2019, in Los Angeles. (AP Photo/Mark J. Terrill)
Arizona Diamondbacks starting pitcher Zack Greinke throws to the plate during the first inning of a baseball game against the Los Angeles Dodgers Thursday, March 28, 2019, in Los Angeles. (AP Photo/Mark J. Terrill)
Arizona Diamondbacks starting pitcher Zack Greinke throws to the plate during the first inning of a baseball game against the Los Angeles Dodgers Thursday, March 28, 2019, in Los Angeles. (AP Photo/Mark J. Terrill)
Los Angeles Dodgers starting pitcher Hyun-Jin Ryu throws to the plate during the first inning of a baseball game against the Arizona Diamondbacks Thursday, March 28, 2019, in Los Angeles. (AP Photo/Mark J. Terrill)
Los Angeles Dodgers starting pitcher Hyun-Jin Ryu throws to the plate during the first inning of a baseball game against the Arizona Diamondbacks Thursday, March 28, 2019, in Los Angeles. (AP Photo/Mark J. Terrill)