This tool allow for bulk DNS lookups via CSV or TXT file passed as an argument.
- Python 3.9+
You can install the tool using the following command directly from Github.
pip install git+https://github.com/pfptcommunity/dnscheck.git
or can install the tool using pip.
pip install dnscheck
usage: dnscheck [-h] -i <file> [--input-type {txt,csv}] [--host-ip IP/HOST] [--ns 8.8.8.8 [8.8.8.8 ...]] [--dmarc] [--spf] [--mx] [-a] [-x] [-c] -o <xlsx>
Bulk DNS Lookup Tool
optional arguments:
-h, --help show this help message and exit
-i <file>, --input <file> CSV file containing a list of domains
--input-type {txt,csv} Type of input file to process (txt or csv). (Default=csv)
--host-ip IP/HOST CSV field of host or IP. (default=Domain)
--ns 8.8.8.8 [8.8.8.8 ...] List of DNS server addresses
--dmarc DMARC record lookup
--spf SPF record lookup
--mx MX record lookup
-a, --forward A record lookup
-x, --reverse PTR record lookup, ip to host
-c, --compact Compact format will add multiple records to single column.
-o <xlsx>, --output <xlsx> Output file
Data tabs are base on the selected lookup information. In the examples below DMARC, SPF, MX, and A records were selected for the the batch lookup. The ouput is in compact form.