I have two dogs, a 2 years old unneutered male mastiff mix and a 10 years old neutered female fox terrier mix.
When I walk them in my neighborhood and we see another male dog, the male dog starts barking like crazy until he stops seeing the other dog. His hair bristles and he tries to reach the other dog. This happens only with male dogs, he is very playful with female dogs.
Recently I visited my parents' town and brought the male dog, and, while he did bark to some extent, it was not close to how he barks when walking around my own house.
Also, when he is in the park, without a leash, he never barks at other dogs.
My guess is he thinks my neighborhood as his domain and just barks other males to drive them out of his territory.
Is there any way I can stop my dog doing this? He is big and strong, and scares people when he barks like this.