Litter trays are good. My lady cat is no problem - doesn't make a noise or a mess. Her brother pees over the tray, the side of the tray, over the side of the tray and up the wall. Then he has to dig to Australia and back again in the litter. After this he cleans his paws on anything that he can - a wall, a carpet, a tile and sometimes the bit of cardboard supplied for the cleaning of paws. Then he trails litter throughout the house.
Theoretically you could use a litter tray - or get a doggie door
http://www.sureflap.co.uk/products/details/19-microchip-pet-door I think that is a small dog that you have.