Dogs are fairly limited in what they can or cant get through. A simple fence will keep most dogs in their yard. A modified fence, perhaps with a mesh skirt, around the coop/pen, would be a solution. But this is just to prevent the dogs consistent attempts, an even simplet solution is catching the dog and taking to authorities, or returning it to the owner.
Communication can go a long way. And no one needs to allow a domestic animal to terrorise their birds. Whether that means improving security or reporting the issue so that its dealt with once and for all. I would never kill or injur an animal for being near my birds, even if that meant losses. Actively attacking and killing is another story.
Of course there may be exceptions, but most dogs can be kept away/scared away/reported. And I am only arguing that we exhaust those more humane options before resorting to killing someones pet.