Roberto Hernandez permitted a career-high four home runs while striking out four as the Dodgers fell to the Nationals 6-4 for their third loss in four games.