Good rat dogs like the Scottish Terrier and the Jack Russell Terrier can catch rats in the outdoors.
Yes, dogs can kill rats.
But rats breed very quickly, and there's no way your dog can make a meaningful dent in the population.
Cats are superior to dogs when it comes to catching rats.