Here are some more tales of pack-situation oddities that just don’t translate into “human”!
Marking their scent is a natural behavioural trait of dominant dogs. If your dog starts to do this around your home, that’s just natural territorial marking warning other dogs that this is his place and they should come near at their own peril.
But if he starts doing it in the home, your problem is he is too high ranking in your family pack (as he sees it, not you). Take a look at some of the other posts in this series and see if your dog is getting away with some of the seemingly normal behavioural points I’ve mentioned. If necessary, you’ll have to start putting in his place by taking the lead wherever possible and making sure he knows that you are in charge and not him.
Then the marking should stop once he realises he is not the top dog!