Part I: Practice
Total Page:16
File Type:pdf, Size:1020Kb
Part I: Practice DNS Test (using Windows 7) Assume my IPADDRESS is 192.168.1.1: and doing a tracert to www.microsoft.com We like to find the servers which are authoritative for the subdomain www.microsoft.com : Cls Nslookup Service Some simple exercises in window command prompt ‐ Make sure you understand how they work. C:>ipconfig /displaydns ; check your dns cache C:>ipconfig /flushdns ; clear your dns cache C:>nslookup www.linuxjournal.com Locate the root server Change the root server to one of the root servers and then type com to lookup the servers that are authoritative for .com: They are 1‐m.rootservers.net (13 all together) Check: http://www.verisign.com/domain‐ name‐services/find‐registrar/index.html To see who is who! Any of these servers can authoritative for www.microsoft.com We need to find which name server is authoritative for Microsoft.com These servers are directed by a.root‐ servers.net name server We now find the authoritative servers of Microsoft.com We need to change to the subdomain authoritative server. We check the status to make sure we are using the right server name Note that seems like the server does not have any records about www.microsoft.com We change the type to see if there are any aliases used in place of www.microsoft.com toggle.www.ms.akadns.net We have to search for TLD which has records of .net: We changed our name server connected to the domain We changed our name server connected to the domain We now search for authoritative servers for .net In the next step we point to this server we point to this server We check the status to make sure / we can use host command We now point to a different subdomain We finally find the IP address to the www.microsoft.com / note that this is the same as what we got from the VisualRoute screen Note that the authoritative server for www.microsoft.com could not have been found from VisualRoute! In this exercise we note that there are a lot of A records associated with www.microsoft.com and in fact, www.microsoft.com is a CNAME of lb1.www.ms.akadns.net – We achieved this using recursive DNS servers. This example shows how the DNS name resolution works and you should understand how name resolution works in the background. Note that we could have found the above results by simply doing the following: Part I: Exercise In this part of the exercise you should do the following: 1‐ Use VisualRoute or (tracert) to trace packets to www.sonoma.edu server. Show a snapshot of your results. a. How many hops does it take? b. How many peering points do you observe along the path? c. What is the IP address of www.sonoma.edu . d. Is www.sonoma.edu an alias? If so, what is the actual name of the server? 2‐ Clearly name all the authoritative servers which participate in name resolving. You must repeat the steps above to show which servers are used to complete name resolution. Use a figure similar to below to describe your answer. 3‐ Clear up your DNS cache. Using your browser try to reach www.sonoma.edu. a. Check your DNS cache. What do you see? Explain your answer. 4‐ Would nslookup commands you used above work in Linux OS? If not what will be equivalent command? .