Question: in this task, you wil implement a Python script that performs DNS enumeration The script wil accept the domain name as a parameter ( not

in this task, you wil implement a Python script that performs DNS enumeration
The script wil accept the domain name as a parameter (not using the input command). For example, running the script wil look like this:
dnsenum.py jct.ac.il
Note: tI is sufficient to do the entire exercise only on IPv4. The goal is to demonstrate your knowledge.
Step 1- Find the DNS server of the desired domain
Start Of Authority (SOA) queries contain administrative information about the domain.
For example, the following is a response to a query performed on jct.ac.il:
C:\Users\BARAK>nslookup -type=S0A j c t . a c . i l Server: UnKnown
Address: 2a0d:6fc2:131c::1
Non-authoritative answer: jct.ac.il
primary name server = dns. jct.ac.il
responsible mail addr = hostmaster.jct.ac.il serial =2024022900
refresh =43200(12 hours) retry =7200(2 hours) expire
e au 171126408a day)
Using scapy, create an SOA DNS packet. Extract the DNS server name of the requested domain from the reply.
Step 4- Create a dnsenum Python script
Create a Python script that uses the file from the previous step to map a
selected domain and determine which servers are in the domain and their IP addresses.
Full credit is awarded :fi
The requested domain name is input as a parameter for the script, not through the input function.
You should contact the DNS server of the requested domain you found ni
Step 1, not using a generic DNS server such as Google DNS (try and see that there are differences in the answers).
You must print the server name and IP4 addresses for each server name in
the requested domain.
You need to find all the IP addresses for a particular server.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!