Need python, dns lib, gevent pip install dnspython gevent Example usage: python dns_query.py domain_list dns_list output