Jump to content

DNS Query Script 1.0.8


About This File

Initial Zip that includes:

  • dnsquery.py
  • input.txt (example which is 1 domain name per line)
  • output.csv (example)

Configured dnsquery.py to add DNS Servers

ORIGINAL WAY (1.0.0-1.0.7 & 2.0.0-2.0.2)

DNS_SERVERS = [['cax233', '10.40.112.233'], ['cax234', '10.40.112.234'], ['sat233', '10.44.112.233'], ['sat234', '10.44.112.234']]

STARTING WITH 1.0.8 and 1.0.9

DNS_SERVERS = [
    ['cax233', '10.40.112.233'],
    ['cax234', '10.40.112.234'],
    ['sat233', '10.44.112.233'],
    ['sat234', '10.40.112.234']
]

A Pre-Req is you need to install python36-dns

sudo yum install python36-dns

We are hoping to get a response like the one shown here (without the color which was just added to separate the file types

expected-dnsquery-outputFile.png

 Share


User Feedback

Recommended Comments

There are no comments to display.

×
×
  • Create New...