sometimes you have to be careful because in some states and city's chickens are not seen as livestock there fore you can not kill a dog that is killing your chickens. you have to know the wording of the law and if you do shoot a dog maybe it is better to sss just for the sake of all involved.
My grandpa had a shot gun that had rock salt in the shells first time a dog came over trying to go after the chickens or cows he got sent away with a butt full of rock salt that was the only warning anyone had next time the dog came onto the farm it was shot most times the dogs never came back...