Adding DNS lookup support