That is like my cockyard perimeters which also entertains fox and raccoons a bit although it does not contain birds very well. Therefore I have a pasture perimeter as well that has effectively stopped all dog visits. What is optimal for stopping dogs is not best for livestock containment either because of placement or number of strands needed if wire is used alone. Best option for me has been hybrid fence with physical barrier coupled with risk of zap. Also, some dogs go nuts when they are close to something of interest which can make fencing less effective. My current male dog will not be stopped by hot electrified poultry netting if a raccoon is on the other side. Keeping a free-ranging flock away from perimeter is advised in part because birds near perimeter are more likely to go beyond it and thus beyond protection. That is what OP needs to consider as well, directing free-range foraging to central areas away from perimeter.IMO With dog problems what u want ( free range ) isn't going to be an option. I would section off a part of land however big with electric fencing. Then inside of that a coop and run. I have personally watched my dog investigate the new wire and by his reaction I don't see any dogs getting through it. Mine is 7 wires high about 5' tall