Doing nslookup for a domain against DNS server