SEATTLE (AP) -- Rookie right-hander Zack Godley pitched six strong innings in his second career start, David Peralta had three hits and two RBIs, and the Arizona Diamondbacks beat the Seattle Mariners 8-4 on Tuesday night for their fourth consecutive victory.
Godley (2-0), who pitched six shutout innings to win his debut last week, allowed three runs on six hits, including solo homers by Mike Zunino and Nelson Cruz. He struck out four and walked three.
Peralta drove in Arizona's first two runs on a single in the first inning and double in the third. He also singled in the sixth and walked in the seventh.
The Diamondbacks opened a 6-1 lead with a three-run sixth inning, bunching five hits to chase Hisashi Iwakuma (2-2), who was tagged for all six runs on 10 hits in 5 2-3 innings.
Seattle answered with two runs in the bottom half on the homer by Cruz, his 26th, and an RBI double by Brad Miller.
Arizona added two runs in the eighth on a sacrifice fly by Nick Ahmed and an RBI single by Ender Inciarte.
After Andrew Chafin and David Hernandez followed Godley with a perfect inning apiece, the Mariners scored one in the ninth off Josh Colmenter.
Arizona hustled up a run in the first when A.J. Pollock singled, stole second with two outs and came home on Peralta's opposite-field single to left.
The Diamondbacks made it 2-0 in the third when Paul Goldschmidt extended his hitting streak to 10 games with a two-out single to left and Peralta followed with an RBI double.
Mike Zunino countered with a leadoff homer in the bottom half, a 452-foot shot to left-center, extending his hitting streak to a career-high eight games.
Inciarte boosted the lead to 3-1 in the fifth with a two-out, line-drive solo homer to right, his third.
Diamondbacks: C Welington Castillo was not in the starting lineup after being hit by a pitch on the left elbow on Monday, the second time in three games he was hit on the same elbow. "It's just unfortunate, luckily last night he had a pad on it and cushioned a little bit the force of the hit," manager Chip Hale said before Tuesday's game. "But, it was the exact same spot."
Diamondbacks: Left-hander Patrick Corbin (1-3, 3.68 ERA) took the loss in his last start, despite allowing just one run in seven innings and matching his career-high with 10 strikeouts in a 2-1 loss to Milwaukee. He will be making his fifth major league start after missing all of 2014 following Tommy John surgery.
Mariners: Right-hander Felix Hernandez (12-5, 2.69 ERA) is tied for the A.L. lead in victories, but after going 8-1 in April and May, is 4-4 in his last 10 starts. In two starts since the All-Star break, he is 1-0 with 1.38 ERA, allowing two earned runs in 13 innings. Wednesday's start will give him the team record with 324 career starts, moving past Jamie Moyer.