For a dog, this will work every time, but it is off label usage.
Get some injectable Ivermectin from the vet that is designed for deworming cattle. For a "big" dog, the dose is between 2 and 5 cc. It works on fungus, lice, worms, ticks, fleas--just about anything that grows or bites.
One shot and done.