Run a couple strands of hot wire around your coop/run about dog nose level. It's effective and it doesn't cost an arm and a leg. The dog is very unlikely to touch it more then once. I've never had a dog come back to try again once he's stuck his nose on the hot wire around my pens.
What I...