“Knowledge of the real or putative history of local places formed an important part of the education of the elite in ancient Ireland.[5] This formed part of the training of the military, for whom a knowledge of the landscape was essential. It was also essential knowledge for the bardic caste, who were expected to recite poems answering questions on place name origins as part of their professional duties.”

Source: Dindsenchas – Wikipedia