Removing unnecessary IP address lookup