DNS, full name Domain Namesystem, that is, the domain name resolution system . DNS helps users find paths on the Internet. Every computer on the Internet has a unique address, called an "IP address" (ie, an Internet protocol address ). Because the IP address (for a string of numbers) is inconvenient to remember, DNS allows users to use a common set of letters ("domain Names") instead. For example, you only need to type www.icann.org instead of "192.0.34.163". Access to ICANN's official website. DNS naming is used in TCP/IP networks such as the Internet to find computers and services through a user-friendly name. When a user enters a DNS name in an application, the DNS service can resolve this name to other information, such as an IP address, associated with it. Because, you enter the Web address, is through the domain name resolution system to find the corresponding IP address, so as to the Internet. In fact, the final point of the domain name is IP.
DNS consists of a name server and a parser. A name server is a program that is installed on a computer, contains information about the local part of the database, and accepts access to the parser. A parser is a program that creates queries and sends queries over the network to the name server, accepting the server's query results.
Bind (Berkeley Internet namedomain) is commonly used in Linux systems to implement domain name resolution, which is the most popular domain Name system in the DNS implementation. The client for BIND is the parser that is used to generate a query for the domain name information destined to the server. Bind server is the named daemon.
Ubuntu Linux places both the configuration file and the data file in the/etc/bind directory. The main configuration files are as follows:
/etc/bind/named.conf: Start the configuration file, set the common named parameter, give the server all the domain database information source, that is, specify the domain name database filename is the location.
/etc/bind/named.conf.local and/etc/bind/named.conf.options: Other Linux systems do not have this file, is unique to Ubuntu, separately manages the various parts of the master configuration file.
Now let's look at The configuration of the D NS Server :
First Download the BIND9 component such as 1:
Figure 1
Then we manually add the/etc/bind/named.conf.local configuration file information such as 2:
Figure 2
then we modify the configuration file/etc/bind/named.conf content such as 3:
Figure 3
then we create local forward and reverse parsing files such as 4.1 and Figure 4.2:
Figure 4.1
Figure 4.2
then we restart the DNS server such as 5:
Figure 5
at this point our DNS server configuration is complete.
Ubuntu-based Gateway Configuration (3)--DNS