25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

authority, it returns all of the requested information in a response with the<br />

authoritative answer flag set. When it receives a query for a domain over which it<br />

does not have authority, its actions depend on the setting of the recursion<br />

desired flag in the query:<br />

► If the recursion desired flag is set <strong>and</strong> the server supports recursive queries, it<br />

will direct its query to another name server. This will either be a name server<br />

with authority for the domain given in the query, or it will be one of the root<br />

name servers. If the second server does not return an authoritative answer<br />

(for example, if it has delegated authority to another server), the process is<br />

repeated.<br />

► When a server (or a full resolver program) receives a response, it will cache it<br />

to improve the performance of repeat queries. The cache entry is stored for a<br />

maximum length of time specified by the originator in a 32-bit time-to-live<br />

(TTL) field contained in the response. A typical TTL value is 86,400 seconds<br />

(one day).<br />

► If the recursion desired flag is not set or the server does not support recursive<br />

queries, it will return whatever information it has in its cache <strong>and</strong> also a list of<br />

additional name servers to be contacted for authoritative information.<br />

Domain name server operation<br />

Each name server has authority for zero or more zones. There are three types of<br />

name servers:<br />

Primary A primary name server loads a zone's information from<br />

disk <strong>and</strong> has authority over the zone.<br />

Secondary A secondary name server has authority for a zone, but<br />

obtains its zone information from a primary server using a<br />

process called zone transfer. To remain synchronized, the<br />

secondary name servers query the primary on a regular<br />

basis (typically three hours) <strong>and</strong> re-execute the zone<br />

transfer if the primary has been updated. A name server<br />

can operate as a primary or a secondary name server for<br />

multiple domains, or a primary for some domains <strong>and</strong> as a<br />

secondary for others. A primary or secondary name<br />

server performs all of the functions of a caching-only<br />

name server.<br />

Caching-only A name server that does not have authority for any zone<br />

is called a caching-only name server. A caching-only<br />

name server obtains all of its data from primary or<br />

secondary name servers as required. It requires at least<br />

one NS record to point to a name server from which it can<br />

initially obtain information.<br />

Chapter 12. Directory <strong>and</strong> naming protocols 435

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!