Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 jctacil
Note: tI is sufficient to do the entire exercise only on IPv The goal is to demonstrate your knowledge.
Step 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 jctacil:
C:UsersBARAKnslookup typeSA j c t a c i l Server: UnKnown
Address: ad:fc:c::
Nonauthoritative answer: jctacil
primary name server dns jctacil
responsible mail addr hostmaster.jctacil serial
refresh hours retry hours expire
e au a day
Using scapy, create an SOA DNS packet. Extract the DNS server name of the requested domain from the reply.
Step 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 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 IP 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started