To dog means the same as to hound --- since both are dogs. When
a dog/hound/wolf or other canine is hunting, it will stay on
whatever it's chasing and run after it until it is exhausted.
Therefore, to dog or hound means to stay on the trail, to keep
after someone, not to give up until something's done.