python implementation of NSLOOKUP using socket.getfqdn() in a threaded Queued