I don't do this nearly often enough. I will make myself a note!
Yeah, I was speaking of castles specifically. There are tons of very cool real world inspirations for dungeons -- endercities like you mention, as well as caverns, underground river paths, and (my favroite) the underground cities...