The songs about "Dan, Dan" are folk versions of the famous 1840s minstrel song, "Old Dan Tucker":
Old Dan Tucker was a fine old man,
Washed his face in a frying pan.
Combed his hair with a wagon wheel,
Died with a toothache in his heel.
Evidently the original appealed jus as much to kids 150 years ago.