The local lookup routines are quite simple and straightforward, involving very little work. However, once these lookups are for domains outside of the local network, they get much more complicated very quickly.
Because the local DNS server only knows about the local domain, any client queries for external data must be forwarded to the DNS servers responsible for those external domains. Because DNS is distributed, the remote DNS servers must be located using DNS queries as well.
When a client issues a lookup for a remote domain, it begins by sending a query to the local nameserver. If the local DNS server does not have the information, then it will issue a request to the remote nameserver on behalf of the client. If the local nameserver does not know the IP address of the remote nameserver, then it must issue a query to the root nameservers (".") asking for the IP address of the nameserver responsible for the destination domain. Once this information is returned, the nameserver will then issue a query to the remote domain's nameserver asking for the IP address of the destination system. Finally, this information is returned to the client that issued the original query. Figure C.5 below illustrates this process.
|
In the example shown in Figure C.5, the user at Joe-PC.UNOVERICA.COM wanted to connect to WWW.NOVELL.COM. The steps involved in resolving the IP address of the host named WWW.NOVELL.COM are as follows:
While seemingly complex, this distributed architecture is required to support the millions of hosts on the global Internet. This same process is followed whenever queries are sent between different container domains (such as "ORG" and "NET" and "UK"), and whenever an organization has several sub-domains within their own company domain (such as "Marketing.UNOVERICA.COM" and "Engineering.UNOVERICA.COM" sub-domains).
For more information about how DNS works on a local network, refer to section C.3.1.1 Local DNS Lookups. For more information on the data that is stored in DNS, refer to section C.3.2 DNS Resource Records.
Copyright © 1997, Unoverica Corporation. All rights reserved. Unauthorized use prohibited.
Send comments to docs@unoverica.com