The judges awarded him the victory with a sweep of 29-28 scores.
The result caused some immediate controversy, as Dunham threw his hands in the air in shock after cage announcer Bruce Buffer gave the official decision.
Dunham likely figured his takedowns were enough to edge it out given the fairly even action on the feet.
According to FightMetric, Dunham finished with a slight edge in landed strikes, 90-86. dos Anjos, however, landed more strikes in each of the first two rounds, 30-25 in the first and 24-21 in the second. Dunham turned it up in the third, out-landing him 44-32. Dunham also had three takedowns in the fight while dos Anjos was 0-for-2.
Dunham fell to 14-4.