A dog is being rescued from a hole in the ground.