Maybe not the best idea in every situations, but most dogs are only chasing you because you're a fast moving object and their hunting instinct kicks in. On a couple of occasions I've just stopped the bike (left it running and in gear) and they just kinda sat there and then lost interest and wandered off. Granted, sometimes that's not really an option at speed, but in residential neighborhoods it seems to work wonders.
this is good .......... and you've tested this; and it works every time? .... LOL; and if ti doesn't work; theres even less time to gun it!
I have noticed dogs seem to go barking nuts with the Ducati exaust note all on a leash so far, (and turned some hot chicks heads too.)