PHOENIX — David Hernandez's arm feels fine. It's location he's having a problem with in his return from Tommy John surgery.
Hernandez gave up a leadoff homer to Howie Kendrick in the 10th inning and two more runs on Yasmani Grandal's double, sending the Arizona Diamondbacks to a 6-4 loss to the Los Angeles Dodgers on Tuesday night.
"They were hitting the ball hard everywhere," Hernandez said. "It was just lack of command. I have been fighting it since I have been back. I just have to make better pitches. You can't really feel your way around up here. You have to be ready and be sharp and tonight I wasn't sharp."
Grandal homered Monday against Arizona and hit a two-run shot in the second inning Tuesday, his 12th of the season. Then he built on Kendrick's leadoff homer in the 10th with his double into the corner in left off Hernandez (0-1).
"He's had some big hits for us," Dodgers manager Don Mattingly said. "He's got a good swing, but I think there's still more in there."
Kendrick had a run-scoring single to tie the game in the seventh and finished with four hits for Los Angeles, which has won eight of nine against Arizona.
Joel Peralta (2-1) pitched a perfect ninth inning and Kenley Jansen gave up a run-scoring double to Paul Goldschmidt in the 10th before closing out his 12th save.
Arizona's Nick Ahmed homered in consecutive games for the first time in his big league career with a two-run shot in the fourth inning, but the Diamondbacks couldn't hold the lead after starter Rubby De La Rosa left.
Enrique Burgos allowed Kendrick's tying single in the seventh. Hernandez, in his eighth game since elbow surgery, gave up three runs in the 10th.
"David is coming off of surgery and these things are expected," Diamondbacks manager Chip Hale said. "It is a tough stretch for him. I can see that, but we are going to have to do better."
De La Rosa has been sharp, allowing two earned runs over 22 innings in his previous three starts.
The right-hander kept it going against the Dodgers, striking out seven to work around baserunners in every inning. He made one big mistake: a pitch out over the plate in the second that Grandal sent over the wall in left for a two-run shot.
"Every inning they were in scoring position and getting the leadoff guy on," Hale said. "I thought he did a great job of handling it."
Dodgers starter Carlos Frias was decent after pitching five scoreless innings his last time out.
He gave up Chris Owings' sacrifice fly in the second and Ahmed's two-run homer to right in the fourth that put Arizona up 3-2.
Frias allowed three runs, seven hits and three walks in five innings.
"He hung in there, really more than anything," Mattingly said. "He got some big outs."
Dodgers: RHP Brandon Beachy is scheduled to make his fourth rehab start with Triple-A Oklahoma City on Wednesday in his return from Tommy John surgery.
Diamondbacks: RHP Archie Bradley is scheduled to see Dr. James Andrews in Alabama to get a second opinion on his sore right shoulder. He's been on the DL since June 2 with shoulder tendinitis.
Dodgers: LHP Brett Anderson, the scheduled starter Wednesday against Arizona, leads the majors with a groundball percentage of 68.7.
Diamondbacks: LHP Robbie Ray has allowed three runs or fewer in five of his six starts heading into Wednesday's game against the Dodgers.