iplookup class definition