I've encountered several dogs on my regular routes to work and for pleasure rides. It's worth taking the time to train them not to chase bikes. It's not hard, it doesn't take long, and it works.
The other option is to go slow where you know they are, or bypass the area if you can.
Az