A dog is warning a stranger.