Problem solving is fun.
I propose a two phase solution.
Firstly... Put a dog repelling sound broadcasting from the home 24/7.
https://www.amazon.com/Dog-Dazer-II-.../dp/B000IBRI2Y
Just an example.
Secondly...
Place strategically located fire hydrants for the dog to pee on a short distance from the home. Better to pee 10 feet from the home than on the home.
https://www.petsmart.ca/dog/training...ml?cgid=100412
Just an example. Any fake fire hydrant would do.
Simple and effective
A third approach would be the sprinkler on a motion sensor.
https://www.amazon.ca/Orbit-62100-Ac...66648157&psc=1
The third could help deter other animals as well. Skunks, raccoons, grizzly bears.
So there you have it. The one, two and three punch Sun neighbourhood dog problem fixer upper.
Plus as a bonus..get a motion camera, 12 pack beer and replay the fun when the games over.