Link to home
Start Free TrialLog in
Avatar of JCW2
JCW2

asked on

Homework Problem: Use of the Dig Tool

From Computer Networking: A Top-Down Approach, Fifth Edition; Chapter 2; problem P19

P19. In this problem, we use the useful tool dig tool available on Unix and Linux hosts to explore the hierarchy of DNS servers. Recall that in Figure 2.21, a DNS server higher in the DNS hierarchy delegates a DNS query to a DNS server lower in the hierarchy, by sending back to the DNS client the name of that lower-level DNS server. First read the man page for dig, and then answer the following questions.

a. Starting with a root DNS server (from one of the root servers [a-m].root-servers.net), initiate a sequence of queries for the IP address for your department's Web server by using dig. Show the list of the names of DNS servers in the delegation chain in answering your query.

b. Repeat part a) for several popular Web sites, such as google.com, yahoo.com, or amazon.com.
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image


So... what's your question?

Are you having a specific problem following the questions above?

Chris
Avatar of JCW2
JCW2

ASKER

I tried the command "dig google.com -b 198.41.0.4" and got "dig: isc_socket_bind: address not available". "198.41.0.4" is the IP address for a.root-servers.net. I also tried "dig google.com -b a.root-servers.net" and got "dig: invalid address a.root-servers.net".  Because an IP address and regular URL are related I think the results of these messages could be related and I could be way off.

Anyway, the dig manual page is at http://members.shaw.ca/nicholas.fong/dig/dig-man.html.
ASKER CERTIFIED SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JCW2

ASKER

Perfect! Thanks.