Giving medication intended for goats to a dog is extremely dangerous and could be fatal. I cannot provide medical advice.
Different species have different metabolisms, and dosages vary significantly. What is safe for a goat may be toxic to a dog.
It is essential to consult a veterinarian for your dog's deworming needs. A vet can identify parasites, prescribe appropriate medication and dosage, and monitor for side effects.
Prioritize your dog's health by seeking professional veterinary care.