It will happen regardless of where you are. The second you live out of town, you agree with the fact you will have both cats AND dogs running around loose. It happens. We lived out of town for years and we always saw on a regular basis loose dogs. It's a never ending battle.
As for the barking, not to be rude but it's your problem.Regardless of the reason as to why he does it, if it bothers you then correct the situation with training. The zapping collars work well for that.