Lodge a formal complaint with the authorities.
The highway is public property and the dog is a threat the owner needs to control.
Cars do not pay attention to this threat, and pedestrians may not pass that way. If you don't do anything, it's doubtful anyone else will!