A lackluster tech performance weighed on indexes but the Dow closed at a record high.