diatomaceous earth?

Sara

Does anyone give diatomaceous earth to there dog?? I've heard its good for fleas and worms just wondering if it was actually true I want to try it on my dogs but wanted to check here first about it.