Yes, I agree with the comment to train your dog. Any trainer will tell you how to reward a dog for unwanted barking, like at a door bell or passer by. An uncontrolled dog outside is a good sign that there is chaos and mental unwellness inside a home.