Updated version of NameToIP