In the circumstance described, i.e. the dog running onto the road, you have no responsibility to compensate your neighbours.
However, if you struck the dog while it was on the footpath or nature strip, you could be in breach of Road Rule 288 (path, including footpath) or 289 (nature strip)...