PHOENIX -- Most rookies would be excited about recording their first career win after a pair of mediocre outings to start their major league career.
Bauer scattered two hits over six scoreless innings and the Arizona Diamondbacks beat the Los Angeles Dodgers 7-1 on Sunday.
"It wasn't really relief because I wasn't anxious or anything like that to begin with," said Bauer (1-1), who struck out six and walked one. "I was throwing strikes today, making them hit the ball instead of being behind in the count."
Paul Goldschmidt homered, doubled and drove in a career-high four runs and Justin Upton was a homer short of the cycle for the Diamondbacks, who won the final three games of the four-game set to move within four games of the NL West-leading Dodgers.
"It gives us good momentum and a good feeling about ourselves going into the second half," said Arizona manager Kirk Gibson.
Bauer, who was picked third in the 2011 draft, said Sunday was the first time since his call-up June 28 he wasn't limited by a groin cramp that has appeared intermittently this season.
"I felt completely healthy and could rotate my hip," Bauer said. "That allows me to just focus on executing my pitches instead of trying to find my release point like I have been my first couple of outings."
Unlike his first two starts, in which he allowed eight earned runs on 11 hits in only 7 1/3 innings, Bauer rarely was pressured by the Dodgers.
While Bauer didn't meet with catcher Miguel Montero before his first two starts, the two have been getting more on the same page.
"Once he puts down a sign, he knows how I like to pitch and he's using his knowledge of the hitters to fit to my game plan," said Bauer, who retired the final 12 batters he faced.
Gibson said there had been a concerted effort to get pitcher and catcher together over the past few days.
"We just sat down and kind of analyzed his first couple starts," Gibson said. "We wanted to understand his strengths and we wanted him to understand a few things in certain situations. He didn't shake off too much today. Miggy understand what he wanted to do in certain situations and Trevor trusted him."
Bauer retired Tony Gwynn Jr. on a fly ball to left after an 11-pitch at bat for the first out of the third and cruised from there, retiring the next 11 batters he faced on a total of 47 pitches.
"It's the first time we've seen him," said Dodgers manager Don Mattingly. "I think we'll have a better feel for him the next time we see him."
Patrick Corbin pitched the final three innings for his first career save.
Capuano (9-4) allowed a season-high five runs on nine hits over five innings for the Dodgers, who remained a half-game ahead of the San Francisco Giants heading into the All Star break. Los Angeles had not led the division at the break since 2009.
Capuano struck out five and walked one.
Upton tripled home Willie Bloomquist in the first and scored on a ground-rule double by Goldschmidt to give the Diamondbacks an early 2-0 lead -- the first two runs Arizona had scored in any of Bauer's first three starts.
Goldschmidt made it 5-0 in the fifth with his 12th home run, a line drive a half-dozen rows deep into the left-field stands.
"I didn't want him to beat me but got a little sloppy and made a not-so-great pitch to him," Capuano said. "He's been swinging a hot bat. He's been really covering the ball, not only on the plate but also off the plate."
Montero hit a bases-loaded, two-run single in the seventh to extend Arizona's lead to 7-0.
Juan Uribe hit a pinch-hit sacrifice fly in the ninth for the Dodgers.
Arizona has won four of its past five against Los Angeles. ... Upton has hit two triples in his past three games. ... Capuano fell to 2-5 in eight career starts and nine appearances overall against Arizona. ... The Diamondbacks are 13-5 in their past 18 homes games. . Dodgers 1B James Loney, whose modest six-game hitting streak was snapped on Saturday, was given his sixth day off of the season Sunday. ... Diamondbacks 2B Aaron Hill singled and scored in the seventh and has hit safely in 22 of his past 23 home games.