What was the first castle's name?

The first castle ever built is unknown. The first recorded castle is called Doue-la-Fontaine in Loire Valley in northern France. Doue-la-Fontaine may have been the first castle ever built but, as said before, it is uncertain.