Page 195 - Web Applications (803) Class 11
P. 195

Types of Name Servers
                 The names given to the machines must be carefully chosen from a name space, with complete control over the name-
                 to-IP address mapping. Flat name spaces and hierarchical names are the two forms of name spaces.

                                 Flat Name Spaces                                  Hierarchical Name Space
                 A name in a flat name space is just a string of characters   Each name in a hierarchical name space is made up of numerous
                 with no structure.                                 parts.
                 An address is assigned to a name in this space.    The first section identifies the organization's nature, the second
                                                                    part specifies the organization's name, the third part defines the
                                                                    organization's department, and so on.
                 The names were simple and easy to remember.        The authority to allocate and regulate name spaces in a
                                                                    hierarchical name space can be decentralised.
                 As it must be centrally regulated to minimise ambiguity   Each designated agent is given authority over the names in each
                 and duplication, a flat name space cannot be employed   division.
                 in a huge system like the internet.
                 A namespace's partitioning must be defined in such a way that it: Supports efficient name mapping; and ensures
                 autonomous control over name assignment.

                 Hierarchy of Name Servers

                 Name servers are computers that keep track of these changes and translate them between IP addresses and domain
                 addresses. The DNS and name servers work together to ensure that mail is sent to the correct person. They ensure
                 that you are directed to the correct location when you type in a web URL. They are in charge of appropriately routing
                 all Internet messages and traffic.

                 Ð ÐDNS servers are used to deliver information across a large number of computers.
                 Ð ÐAs many domains as there are first-level nodes are created.
                 Ð ÐThe server is in charge of the zone and has some authority. The server creates a database called a zone file in which
                   all of the information for each node in the domain is stored.

                 Ð ÐA root server is one whose zone includes the entire tree. A root server, in most cases, does not keep any domain
                   information and instead delegates its power to other servers.

                 Ð ÐPrimary server keeps a file containing information about the zone for which it has the authority. It is in charge of
                   establishing, updating, and maintaining the zone file.

                 Ð ÐSecondary server receives all of a zone’s information from another server and stores it on its local disc. The zone
                   files are not created or updated on these servers.

                 Domain Resolution Process

                 A user’s browser must obtain the IP address and submit queries to the name servers. Domain name resolvers are
                 involved in this procedure.

                 Ð ÐRequesting Website Information
                    Let's go to a website by typing the domain name into the address bar of a web browser. The hostname, such as
                   www.cbse.nic.in, will be resolved by our computer. The IP address connected with the domain name will then be
                   looked up in our computer's DNS cache.

                 Ð ÐSend a message to the Recursive DNS Servers.
                    If the information isn’t in your computer’s local cache, it will go to a different server to get it. Similar like your PC,
                   recursive DNS servers save a local cache. Since many ISPs utilise the same recursive DNS servers, the common
                   domain name may already be cached. The inquiry will stop here if the domain has been cached, and the user will
                   see the webpage.
                                                                            Website Development using HTML and CSS   193
   190   191   192   193   194   195   196   197   198   199   200