From
this thread:
Smaug's name is an acknowledged pun: "The dragon bears as name – a pseudonym – the past tense of the primitive Germanic verb Smugan, to squeeze through a hole: a low philological jest."
"Derne" means "to hide", so Dernhelm was an aptly chosen name for someone in disguise.