Freddy Peralta recorded seven strikeouts over six innings, giving up just one hit as the Milwaukee Brewers beat the Los Angeles Dodgers, 3-1.