No, you don't want to do that. That makes all your substitutions
slower, and it's not necessary. Remember that the files
were already scanned for IP numbers, so no unknown IP
numbers should be present in the file. If some IP numbers
don't resolve, just put a value in the hash that's the
same as the key.