MILWAUKEE — Craig Counsell capped his first day as a big league manager in the best way possible: with a victory.
"It's a very special day," said Counsell, who took over for Ron Roenicke, who was fired Sunday night.
"It was a blur a little bit, quite honestly, but it's a special day."
Dodgers starter Clayton Kershaw was denied his 100th career win, and took a no-decision.
The Brewers overcame a 3-0 deficit with one run in the sixth and three in the eighth.
Hector Gomez opened with an opposite-field triple into the right-field corner and pinch-hitter Gerardo Parra followed with another triple to cut the lead to 3-1.
"That first triple, he made a good pitch on the inner half down, he got with him a slow bat and kind of hit it the other way," Dodgers catcher Yasmani Grandal said. "And then, the same kind of thing happened. But Parra takes pretty good at-bats against him. He's seen him for a while now. He saw a fastball up and over the plate and he took a good swing on it."
Gomez pulled the Brewers within a run at 3-2 in the eighth with his first career home run.
Adam Lind chased Kershaw with a pinch-hit double, and Carlos Gomez greeted reliever Chris Hatcher (0-3) with a tying RBI double. Gomez advanced to third on Jason Rogers' groundout and then scored on infield single by Ryan Braun, who narrowly beat the throw. The Dodgers challenged the call, but it was upheld on review.
"I thought I was safe," said Braun, who is hitting .230. "I'll take every one I can get. I feel like I've lined out or flown out to the wall a bunch of times. Hopefully it starts to even itself out."
Michael Blazek (2-0) pitched two scoreless innings for the victory and Francisco Rodriguez pitched a perfect ninth for his fifth save in five opportunities.
"The bullpen kept putting up zeroes and kept us in it," Counsell said. "It was as good as it gets, that's for sure. It was a team win, that's for sure."
The victory was the third straight and fourth in five games for the Brewers, who improved to 8-18 after the worst start in franchise history.
Kershaw, who was trying for the third time for his 100th victory, allowed three runs on five hits in 7 1/3 innings, striking out eight. He has not won since April 17.
Joc Pederson immediately put the Dodgers in front 1-0, driving the third pitch from Kyle Lohse over the right-field wall for his seventh homer.
The Dodgers added two runs in the fourth on Grandal's RBI single and Juan Uribe's sacrifice fly.
"It was a special energy tonight," Braun said. "It was weird at the end of the game. It had an atmosphere we hadn't been a part of for a very long time. It is special for us to have an opportunity to get him his first victory. For us to come back and win a game against the best pitcher on the planet who was really on top of his game throwing well, it was special.
"It is not something we've been doing all year. Hopefully it is a sign of things to come."
Dodgers manager Don Mattingly was ejected in the third inning by first base umpire Paul Emmel for arguing a balk call against Kershaw, who appeared to have picked Lohse off first. It was Mattingly's first ejection of the season and 16th of his managerial career.
BREACHING THE BULLPEN
The Dodgers' bullpen gave up its first run since April 26, a span of seven games and 26 innings. It was the second-longest streak in the majors this season behind the Royals' 28 2/3 scoreless innings from April 17-24.
Dodgers: LHP Hyun-Jin Ryu, sidelined all season with a left shoulder impingement, was moved from the 15-day disabled list to the 60-day disabled list.
Brewers: SS Jean Segura, who left Sunday's game at Chicago after being was hit in the helmet by a pitch, was not in the lineup pending additional tests. "It was just kind of precautionary tonight that we held him out of there," Counsell said after the game. "I expect him to be back in there tomorrow."
Dodgers: Left-hander Zack Greinke, 4-0, has won his last nine decisions dating to last August. He is 0-2 with a 4.76 ERA in four games, including three starts, against the Brewers, whom he helped to the NLCS in 2011. Greinke is 15-2 in his career at Miller Park.
Brewers: Right-hander Matt Garza, 2-3, is coming off two consecutive quality starts. In 226 Major League appearances, Garza has never faced the Dodgers.