Implemented class dns lookup