The Dow Jones Industrial Average, Nasdaq composite and Russell 2000 index of smaller companies also notched record highs.