You might want to read this thread topic before you go using DE for "everything" ...
DE definitely has some convenient uses for dogs, but (if you understand how it works) it does NOT work "when moist" ... and worms have no exoskeleton ... which is why most of the actual published science shows DE is not an effective worming solution
Jack