TCP IP Illustrated

A plus sign would have been printed after the

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: e cache to be empty. When the name server starts up, it initializes the identifier to 1. When we type our query, looking for the IP address of the host, the name server contacts one of the eight root servers, (line 1). This is the normal A type query that we've seen before, but notice that the recursion-desired flag is not specified. (A plus sign would have been printed after the identifier 2 if the flag was set.) In our earlier examples we always saw the resolver set the recursion-desired flag, but here we see that our name server doesn't set the flag when it's contacting one of the root servers. This is because the root servers shouldn't be asked to recursively answer queries-they should be used only to find the addresses of other, authoritative servers. Line 2 shows that the response comes back with no answer RRs, five authority RRs, and five additional information file:///D|/Documents%20and%20Settings/bigini/Docu.../homenet2run/tcpip/tcp-ip-illustrated/dns_the.htm (14 of 18) [12/09/2001 14.47.06] Chapter 14. DNS: The Domain Name System RRs. The minus sign following the identifier 2 means the recursion-available (RA) flag was not set-this root server wouldn't answer a recursive query even if we asked it to. Although tcpdump doesn't print the 10 RRs that are returned, we can execute the host command to see what's in the cache: sun % host -v Query about for record types A Trying ... Query done, 1 answer, status: no error The following answer is not authoritative: 19109 A IN Authoritative nameservers: 170308 IN NS UU.NET NS.UU.NET 170308 IN NS UU.NET UUNET.UU.NET 170308 IN UU.NET NS UUCP-GW-1.PA.DEC.COM 170308 IN NS UU.NET UUCP-GW-2.PA.DEC.COM 170308 IN NS UU.NET NS.EU.NET Additional information: 170347 IN A NS.UU.NET 170347 IN A UUNET.UU.NET A UUCP-GW-1.PA.DEC.COM 170347 IN A UUCP-GW-2.PA.DEC.COM 170347 IN 170347 IN A NS.EU.NET This time we specified the -v op...
View Full Document

Ask a homework question - tutors are online