python DIG DNS script
Budget: $10 – $30 USD
I have the need to run a script (bash or python preferred) that will utilize an input file (txt) list of domains and query multiple DNS servers and provide an output CSV file.
EXAMPLE:
input file: domains.txt (as an example)
hosangit.com
eventguyz.net
ourholychurch.com
script will allow adding multiple DNS servers
8.8.8.8
8.8.4.4
etc
etc
(need at least the ability to include 8 DNS Servers)
RunCommand: digscript.sh domains.txt
would provide inputfilename.csv
columns in csv could be dns servers included in the script
Column1: domain
Column2: dnsServer1
Column2: dnsServer2
etc…
Rows would include domain in column1, response from dns server1 in the next column on same row, response from dns server2 in the next column, etc
GOAL is before changes are done in our environment, I want to run this dns query on all my dns records and then run the script after the changes and do a compare in order to identify anything that is different. (did the changes break something with DNS)
EXAMPLE:
input file: domains.txt (as an example)
hosangit.com
eventguyz.net
ourholychurch.com
script will allow adding multiple DNS servers
8.8.8.8
8.8.4.4
etc
etc
(need at least the ability to include 8 DNS Servers)
RunCommand: digscript.sh domains.txt
would provide inputfilename.csv
columns in csv could be dns servers included in the script
Column1: domain
Column2: dnsServer1
Column2: dnsServer2
etc…
Rows would include domain in column1, response from dns server1 in the next column on same row, response from dns server2 in the next column, etc
GOAL is before changes are done in our environment, I want to run this dns query on all my dns records and then run the script after the changes and do a compare in order to identify anything that is different. (did the changes break something with DNS)