The name Doe Castle is an anglicisation of Caisleán na dTuath which means castle of the area or district - a túath being an administrative area in Gaelic Ireland.
The tower itself is 15th century but the outer enclosing walls, the bawn, date to the 17th century.
This scene reminded me of another castle, more famous, from my own County Antrim which I also photographed with a cow in front: https://panoramicireland.com/photo-tours-blog/cow-in-front-of-dunluce-castle-causeway-coast-antrim-northern-ireland
Now it is only ruins and ivy, standing on a bluff overlooking a small river. Unlike many of the ruins dotting the Irish countryside this one was not destroyed in some war or conflict but in a conflagration that some say lasted for months, during repairs to the roof.