Ned Pyle from Microsoft TechNet wrote an article about DCDiag, explaining in detail what it actually does.
Read full article on TechNet.