The story
The Scottish name is from Scottish Gaelic, from Old Irish dùn (“fort”) + deas (“south”), perhaps via Dundas Castle, while the places in Canada are named after Lord Melville, Henry Dundas, a Scottish politician.
Etymology from Wiktionary, CC BY-SA 4.0.