Answered step by step
Verified Expert Solution
Link Copied!

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 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Mining Concepts And Techniques

Authors: Jiawei Han, Micheline Kamber, Jian Pei

3rd Edition

0123814790, 9780123814791

More Books

Students also viewed these Databases questions

Question

Write a note on transfer policy.

Answered: 1 week ago

Question

Discuss about training and development in India?

Answered: 1 week ago

Question

Explain the various techniques of training and development.

Answered: 1 week ago

Question

Explain the various techniques of Management Development.

Answered: 1 week ago