Electrified poultry netting will keep the dog at bay.We actually have a barn that is being converted! It was always used for chickens but hasn’t housed any in a long time! Our neighbors had some dogs they were baby sitting that were very aggressive and they just left this week so we kept them in longer than planned and they still have one that roams over occasionally that they informed us would kill things so we now are having to think extra security inside a dog kennel so we can’t use the barn right now!