It's like a way of biggin someone up like or just agreein with suttin they said.
The term "dunn" originated in the Queensbridge housing projects with an acquaintance of Prodigy's (Mobb Deep) whose speech impediment prevented him from pronouncing the slang term "son".