For this task, you will build a mimic DNS server using Python. You are not allowed...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
For this task, you will build a mimic DNS server using Python. You are not allowed to use Python existing DNS modules/libraries such as dnspython and dns.resolver. Your DNS server must have the following features and functionality. • As we have learnt in Module 2, DNS uses UDP as the transport layer protocol. • Uses the query and response messages. • Capable of supporting two types of resource records, A and CNAME. • Capable of supporting Hostname-to-IP-address translation and host aliasing. • The server must display a message on the terminal when it is started to indicate it is running. You must also build a client program to test the DNS server. The client program must be able to provide the hostname /alias name in the terminal and send a DNS query to the server. The client process must display the response received from the server in the terminal. Client program should also prompt the user to check whether the user would like to continue with another DNS query or not. For this task, you will build a mimic DNS server using Python. You are not allowed to use Python existing DNS modules/libraries such as dnspython and dns.resolver. Your DNS server must have the following features and functionality. • As we have learnt in Module 2, DNS uses UDP as the transport layer protocol. • Uses the query and response messages. • Capable of supporting two types of resource records, A and CNAME. • Capable of supporting Hostname-to-IP-address translation and host aliasing. • The server must display a message on the terminal when it is started to indicate it is running. You must also build a client program to test the DNS server. The client program must be able to provide the hostname /alias name in the terminal and send a DNS query to the server. The client process must display the response received from the server in the terminal. Client program should also prompt the user to check whether the user would like to continue with another DNS query or not.
Expert Answer:
Answer rating: 100% (QA)
Building a DNS server and client from scratch is a nontrivial task and involves several steps I can ... View the full answer
Related Book For
Management Accounting Information for Decision-Making and Strategy Execution
ISBN: 978-0137024971
6th Edition
Authors: Anthony A. Atkinson, Robert S. Kaplan, Ella Mae Matsumura, S. Mark Young
Posted Date:
Students also viewed these computer network questions
-
The JAC MOTORS company wants to sell its JS-3 model car for a cash value of $23,000. A client, who wants the car, offers to make semiannual payments with a rate of 11.5% with semiannual...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Whether Mary is an employee or an independent contractor of Drake Education Solutions (DES). Rule: The relevant rule is the Australian Fair Work Act 2009 (FW Act). The FW Act sets out the factors...
-
20 -101 10 in- laminate substrate Fig.2 Q2: The tool shown in Fig.2 is used in a gluing operation to press a thin laminate to a thicker substrate. If the wheels at points A and B both have 2 in...
-
As a salesperson, you receive a monthly salary of $2000, plus a commission of 7% of sales. You receive an offer for a new job at $2300 per month, plus a commission of 5% of sales. (a) Write a linear...
-
Discuss the strategic importance of information.
-
You have audited the financial statements of the Heft Company, a December 31 year end client, for several years. The interim phase of the engagement, completed on August 31, included confirming...
-
While auditing a client, the CEO asks you to look carefully at the cash flow. You notice that cash flows have decreased every year. Upon learning of your findings, the CEO remarks, I seem to bring in...
-
1. Describe how an OM can add value to an organization; do this by sharing an example of a company and some examples of your considerations and suggestions.
-
You are trying to estimate the free cash flow to the firm for RevTech, a technology firm. The firm reported $80 million in earnings before interest and taxes, capital expenditures of $30 million, and...
-
6- Find the hazards that may occur when the following commands in a MIPS processor with 5 steps (IF, ID, EX, MEM, WB) for Pipeline and a separate ALU for each of the Add / Sub, Mul, Div operations....
-
The queue is implemented as a class containing an array of items, a data member indicating the index of the last item put on the queue (rear), a data member indicating the index of the location...
-
The following program has three separate errors, each of which would cause an infinite loop. As a member of the inspection team, you could save the programmer a lot of testing time by finding the...
-
1. In what cases, if any, is the bubble sort O(N)? 2. In what cases, if any, is the selection sort O(log N)? 3. In what cases, if any, is quick sort O(N )?
-
Differentiate between unit testing and integration testing.
-
The implementation of AVL trees described in this chapter introduced two helper methods, Difference and Height, to compute the balance factor of a given node. Another approach would be to store the...
-
The full SVD of a matrix A Rmx* is given by A = UEVT where U CR and VCR are orthogonal, and CRmx* has zero entries off its diagonal and has the singular values of A on its principal diagonal. If A...
-
To help you become familiar with the accounting standards, this case is designed to take you to the FASBs Web site and have you access various publications. Access the FASBs Web site at...
-
1. Why is it said that a kaizen costing system operates outside the standard costing system? 2. What is a benchmarking (performance) gap?
-
You are planning your expenditures for the upcoming school semester. You assume that this years expenditures will equal last years plus 2%. What approach to budgeting are you using?
-
Fancy Foods Company produces and sells canned vegetable juice. The ingredients are first combined in the blending department and then packed in gallon cans in the canning department. The following...
-
The same suspension as that in Problem 39 above was subsequently tested in a $28 \mathrm{~mm}$ internal diameter pipe, and the following data reported: $\Gamma\left(\mathrm{s}^{-1} ight)$ 127 200 289...
-
A mercury manometer is connected between two points in a piping system that contains water. The downstream tap is $6 \mathrm{ft}$ higher than the upstream tap, and the manometer reading is $16...
-
The manometer equation is $\Delta \Phi=-\Delta ho g \Delta h$, where $\Delta \Phi$ is the difference in the total pressure plus static head $(P+ho g z)$ between the two points to which the manometer...
Study smarter with the SolutionInn App