That's what I'm worried about. We're talking about buying a shed to convert to a coop and pouring a concrete floor underneath so no digging.
The only reason I don't have a direct body count from my @$$ neighbor and his horror show of a dog is I did my fences 6ft chain link with hardware cloth top to bottom and netting on top. I think the neighbor considers himself some sort of dog whisperer because his thing seems to be get the worst possible adult dog and make everyone else suffer around him while he "trains" it.
What finally did it? After multiple attacks- which resulted in injuries and death to my birds - including collapse and death from heat exhaustion - he chased them around in 100 degree temps at 3 in the afternoon- btw- he didn't catch his dog. ***I*** caught his dog- and there was barely an apology.
They were using my land like Disneyland for their dog - after all, it's just a chicken, right? - he goes and runs himself out tormenting my animals and they get a tired dog. What a treat for them.
When it happened again - I perhaps wasn't my best self. I screamed and yelled and probably every other word began with the letter "F". I've never done that before, but after losing girls and dealing with injuries from the girls trampling each other in a panic over getting chased etc., I was DONE. D.O.N.E. DONE. Not 2 days before I'd once again caught that dog on my property chasing my goats, headed for my chickens - they were home- so it's not like they didn't know. I even yelled "STOP CHASING MY LIVESTOCK"- at least that time the dog ran back across the road (where another of their dogs got hit by a car and killed) before it went for the chickens.
Before the day of the profane tirade, I don't think they took me seriously. They sure as anything didn't take any steps to stop their animal's behavior after the multiple run-ins where they SAW what their animal caused. Afterwards - I haven't heard so much as a bark- this after MONTHS and MONTHS and MONTHS of non-stop, how-is-this-animal-breathing-while-barking-this-much barking at ALL hours. I don't know if they got rid of that dog and I DON'T CARE what they did with him. I chased that POS dog off my land and I don't know where they caught him that day- and I don't care. My animals aren't entertainment for their dog.
Friendly and courteous doesn't always work. I did that. IN SPADES. Well-built high chain link worked- at least nobody got ripped to shreds. Injuries happened. Deaths happened. But at least nobody got chomped.
If I ever have it happen again, I have a printout of all the county laws about dogs that chase livestock and what I'm allowed to do. I never brought that up to them - but I am prepared. I don't WANT to be that kind of neighbor. But they clearly don't (didn't???) care what kind of neighbor THEY are.
Building a coop with either a concrete foundation or up on pier blocks offers a LOT more security. When I built my new coop - I lined the floor and walls with hardware cloth between the frame and the siding - so even if something chews through the heavy wood siding- they hit the hardware cloth next.
Electric CAN be a deterrent if it is used in conjunction with something like a chain link fence that a dog can't just run right through- strongly recommend the bottom 2ft at minimum be covered with hardware cloth so hens can't stick their heads through and get grabbed that way. If the electric is on the outside and well-placed - a good 8,000-10,000v zap will eventually connect (if you do it right and ground it well). If it's only an electric net or something like that- then no, it won't stop a frenzied animal- not for a second. If there's a barrier AND electric- the message will get through.
All we can do is prepare for other people's "pets" and all the other animals who want our chicken friends for dinner.