Added multithreading to DNS lookup