A dun is an ancient or medieval fort. In Ireland and Britain it is mainly a kind of hillfort and also a kind of Atlantic roundhouse.