Question

please give me clear picture Section 1: DNS nslookup The Domain Name System (DNS) translates hostnames...

please give me clear picture

Section 1: DNS nslookup
The Domain Name System (DNS) translates hostnames to IP addresses, fulfilling a critical role in the Internet infrastructure. In this lab, we’ll take a closer look at the client side of DNS. Recall that the client’s role in the DNS is relatively simple – a client sends a query to its local DNS server, and receives a response back. Much can go on “under the covers,” invisible to the DNS clients, as the hierarchical DNS servers communicate with each other to either recursively or iteratively resolve the client’s DNS query. From the DNS client’s standpoint, however, the protocol is quite simple – a query is formulated to the local DNS server and a response is received from that server.

In this lab, we’ll make extensive use of the nslookup tool, which is available in most Linux/Unix, Mac, and Microsoft platforms today.

1. Start in Linux/Unix/Mac by opening a terminal.
2. Or in Windows, open the Command Prompt (Press “x” and the windows logo key at the same time, then click “Run”, type “cmd”).
In it is most basic operation, nslookup tool allows the host running the tool to query any specified DNS server for a DNS record. The queried DNS server can be a root DNS server, a top-level-domain DNS server, an authoritative DNS server, or an intermediate DNS server (see the textbook for definitions of these terms). To accomplish this task, nslookup sends a DNS query to the specified DNS server, receives a DNS reply from that same DNS server, and displays the result.
Now consider the second command:

nslookup –type=NS mit.edu

In this example, we have provided the option “-type=NS” and the domain “mit.edu”. This causes nslookup to send a query for a type-NS record to the default local DNS server. In words, the query is saying, “please send me the host names of the authoritative DNS for mit.edu”. (When the –type option is not used, nslookup uses the default, which is to query for type A records.) The answer, displayed in the above screenshot, first indicates the DNS server that is providing the answer (which is the default local DNS server) along with three MIT nameservers. Each of these servers is indeed an authoritative DNS server for the hosts on the MIT campus. However, nslookup also indicates that the answer is “non-authoritative,” meaning that this answer came from the cache of some server rather than from an authoritative MIT DNS server. Finally, the answer also includes the IP addresses of the authoritative DNS servers at MIT. (Even though the type-NS query generated by nslookup did not explicitly ask for the IP addresses, the local DNS server returned these “for free” and nslookup displays the result.)

Now finally consider the third command:

nslookup www.aiit.or.kr bitsy.mit.edu

In this example, we indicate that we want to the query sent to the DNS server bitsy.mit.edu rather than to the default DNS server (dns-prime.poly.edu). Thus, the query and reply transaction takes place directly between our querying host and bitsy.mit.edu. In this example, the DNS server bitsy.mit.edu provides the IP address of the host www.aiit.or.kr, which is a web server at the Advanced Institute of Information Technology (in Korea).

Now that we have gone through a few illustrative examples, you are perhaps wondering about the general syntax of nslookup commands. The syntax is:

nslookup –option1 –option2 host-to-find dns-server

In general, nslookup can be run with zero, one, two or more options. And as we have seen in the above examples, the dns-server is optional as well; if it is not supplied, the query is sent to the default local DNS server. Now that we have provided an overview of nslookup, it is time for you to test drive it yourself. Answer the following questions in your lab report:

3. Run nslookup to obtain the IP address of a Web server in Asia. Submit your screenshot of nslookup command. What is the IP address of that server?
4. Run nslookup to determine the authoritative DNS servers for a university in Europe, e.g, University of Cambridge. Submit your screenshot of nslookup command.
5. Run nslookup so that one of the DNS servers obtained in Question 4 is queried for the mail servers for Yahoo! Mail (mail.yahoo.com). Submit your screenshot of nslookup command. What is its IP address?
0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
please give me clear picture Section 1: DNS nslookup The Domain Name System (DNS) translates hostnames...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 2 DNS: Domain Name System (a) Root DNS server (b)TLD DNS server d Local DNS server...

    2 DNS: Domain Name System (a) Root DNS server (b)TLD DNS server d Local DNS server dns.poly.edu (c) Authoritative DNS server dns.umass.edu Requesting host cis.poly.edu gaia.cs.umass.edu A) Explain the four classes of DNS servers (a, b, c and d) using the above topology B) Explain the procedure of a host to resolve a DNS query using an Iterative query C) Explain the procedure of a host to resolve DNS query using a Recursive Query D) Compare both queries (Iterative and...

  • Can someone please help me with my Computer Network homework. 1. Describe the behaviors of and...

    Can someone please help me with my Computer Network homework. 1. Describe the behaviors of and the differences between persistent and non-persistent HTTP 2. List three application layer data transfer protocols used in email applications. Which one(s) are 3. A DNS resource record is specified as a 4 tuple: cName, Value, Type,>.Describe how should we interpret a DNS resource record given the four resource record types: A, NS, CNAME, and Mx. For this question, you can ignore the TTL field....

  • IP, UDP and DNS Please check the screenshot below and give a short answer for the...

    IP, UDP and DNS Please check the screenshot below and give a short answer for the following questions. > Internet Protocol Version 4, Sre: 165.26.188.11, Dst: 168.27.170.110 > User Datagram Protocol, Src Port: 53, Dst Port: 55706 Domain Name System (response) Request In 2101 [Time: 0.037798000 seconds) Transaction ID: exa67e Flags: 08180 Standard query response, No error - Response: Message is a response .000 e... ..... Opcode: Standard query (e) ..... Authoritative: Server is not an authority for domain Truncated:...

  • 1) Is this DNS message a query or response? 2) What is the port number used...

    1) Is this DNS message a query or response? 2) What is the port number used to send the DNS query? 3) How many Answer RRs? (2 point) Please describe what they are? IP, UDP and DNS 1... ....... Please check the screenshot below and give a short answer for the following questions. > Internet Protocol Version 4, Src: 168.26.188.11, Dst: 168.27.170.110 > User Datagram Protocol, Src Port: 53, Dst Port: 55706 Domain Name System (response) [Request Tn: 2101 [Time:...

  • HOMEWORK 4

    Each (1-13) question is 5 points: 1.      How many bits are in a MAC address?2.       3.      How many bits are in an IPv4 IP address? 4.      When using DSL modem to connect to the Internet, the data transmission shares the cabling with what other technology? 5.      Which type of networking cable is more reliable, STP or UTP? Which is used more on LANs? 6.      Which TCP/IP protocol that manages packet delivery guarantees that delivery? Which protocol does not guarantee delivery, but is faster? 7.      Which...

  • ANSWER NETWORKS QUESTIONS (MCQS AND CALCULATIONS) QUESTIONS ( 11 - 20) QUESTION 11 1.     Consider the following...

    ANSWER NETWORKS QUESTIONS (MCQS AND CALCULATIONS) QUESTIONS ( 11 - 20) QUESTION 11 1.     Consider the following excerpt from a simple server side UDP program: Server.py from socket import * sName=’127.0.0.1’ sSocket=socket(AF_INET,SOCK_DGRAM) sSocket.bind((sName, 12005)) while True: msg, cAddr =sSocket.recvfrom(2048) newMsg = msg.decode().lower()   sSocket.sendto(*********************) What code could be used to replace the **********’s in line 8? newMsg.encode(), cAddr newMsg.encode() msg.encode(), cAddr msg.encode() none of the above 1 points    QUESTION 12 For a client to obtain an IP address from the local...

  • use TOLEDO OHIO USA IP ADDRESS and typed please! 1 of 1 Environment variables are some of the most useful tools avai...

    use TOLEDO OHIO USA IP ADDRESS and typed please! 1 of 1 Environment variables are some of the most useful tools available to command shell script writers. By default, all Windows systems include a host of environment variables that can provide important information about the system and the current user a Run ipconfig /all in the command line. What is your computer's running Ipv6 address? 2) To list all your system's environment variables, you can type "set". What the COMPUTERNAME...

  • How to solve Exercises 1? Project Goal The project will give you some hands-on experience with...

    How to solve Exercises 1? Project Goal The project will give you some hands-on experience with Nmap. Nmap is a network tool that allows you to scan live hosts and services (open ports), thus, creating a "map" of the network. You will be using Zenmap, a graphical user interface (GUID of Nmap, to investigate several basic types of networl scanning techniques. You can work in teams of two students or alone. Setup: Installing&Using Zenmap Visit nmap.org/download.html to download and install...

  • Risk management in Information Security today Everyday information security professionals are bombarded with marketing messages around...

    Risk management in Information Security today Everyday information security professionals are bombarded with marketing messages around risk and threat management, fostering an environment in which objectives seem clear: manage risk, manage threat, stop attacks, identify attackers. These objectives aren't wrong, but they are fundamentally misleading.In this session we'll examine the state of the information security industry in order to understand how the current climate fails to address the true needs of the business. We'll use those lessons as a foundation...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT