When I first moved here I had feral dogs coming onto my property. They killed many of my guinea fowl.. which I used to let roost in the trees.
When I penned them up with the chickens the dogs ripped into the coop through the thick wire.
After patching it up with metal sheeting and strong wood.. they still got in.
They were silent and came as a pack in the dead of night. If I went out to scare them off they were really aggressive... not scared of people.. and would not back down easily.. growing and charging at me.
I walled and fenced in my land.. something which I wanted to do anyway to stop people coming and stealing our fruit and stop our own 2 small dogs getting out. Street dogs still got in by digging under fencing or climbing over 6 foot high walls.
I lost many chickens and all my guinea fowl over several months... and I wasted a lot of money and time trying to make my existing coop secure.
That's why, about one year ago, I decided to really make a good quality run and coop.. concrete base and sheet metal.. with thick chain link mesh.
The dogs still came back... for a few weeks.. until they gave up trying to get into the coop. Once they realise they have no chance of getting to the animals they go some place else.
Where I live its probably very different to you.... there seem to be hundreds of feral and street dogs in my village... the culture here is to let they all roam around free, like people do with cats in the West. Many of the dogs are looked after by monks at the temple near me. If I shot them.. or poisoned them... I would have been in real trouble and isolated myself form the community... so killing them was not an option... (and I don't like killing anything s you guessed).