First, DNS overview
When the computer communicates on the network can only recognize such as "192.168.0.48" such as digital address, then why when we open the browser, in the address bar input such as "www.abc.com" after the domain name, we can see the page we need? This is after we enter the domain name, there is a "DNS server" computer automatically put our domain name "translation" into the corresponding IP address, and then pull up the corresponding IP address page, and finally back to our browser, we can get results.
DNS is the abbreviation for the domain Name System, a computer and network service naming system that is organized into a domain hierarchy. DNS naming is used for TCP/IP networks, such as the Internet, to locate 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 related to this name, such as an IP address.
So, we want our own intranet domain name can be successfully resolved (that is, translated into IP address), we need to build our own 2K machine into a DNS server, which contains our domain name and IP address mapping between the table. This usually requires the creation of a record, a is a shorthand for address, meaning "host record" or "host location record", which is the most common of all DNS records.
Second, the DNS settings
1, open the DNS console: Select "Start menu → program → management tool →dns".
2, the establishment of domain name "admin.abc.com" Mapping IP Address "192.168.0.50" host records.
① Establish a "com" zone: select "Dns→wy (your server name) → forward search area → right → new Area", then select "Standard primary area" and "com" at name. The following figure:
② set up the "ABC" field: Select "com→ → new Domain" and enter "ABC" in "Type new domain name".
③ establishes the "admin" host. Select "abc→ → new Host", "name" is "admin", "IP Address" enter "192.168.0.50", and then press "Add Host".
3, the establishment of domain name "www.abc.com" Mapping IP Address "192.168.0.48" host records.
① because the domain name "www.abc.com" and the domain name "admin.abc.com" are all located in the same "area" and "Domain", have been established in the previous step, so should be used directly, just add the corresponding "host name" in "Domain" again.
② set up "www" host: select "abc→ → new host", in the "name" input "www", "IP Address" input "192.168.0.48", and finally "add host" can be.
4, the establishment of domain name "ftp.abc.com" Mapping IP Address "192.168.0.49" host record method ibid.
5, the establishment of domain name "abc.com" Mapping IP Address "192.168.0.48" The host record method also and the same as above, just have to keep "name" an item is empty! It will display "Same as parent folder" when it is established. The established DNS console is shown in the following illustration:
6, the establishment of more host records or other methods of recording similar. More is created as shown in the following figure:
7, there are also the establishment of the "abc.com" as the entire "zone", and then directly under it to establish a "host" approach. However, this method appears to be more inconvenient when the records are more similar.
III. Authentication after DNS setup
In order to test the success of the settings, it is usually done with the "ping" command from 2K. Format such as "Ping www.abc.com". The successful test is shown in the following illustration: