DNS Server setup in Linux

Source: Internet
Author: User

DNS Server setup in Linux

Experiment Introduction: This article mainly introduces in the virtual machine Linux environment constructs the DNS (domain name resolution System) server, and finally can realize the domain name the forward and the reverse parsing, finally through one Win7 system's virtual function enough domain name www.benet.com accesses another win7 system the virtual machine.

1, first to the Linux host with IP address, this article Linux IP address 192.168.1.25, used to access the site's Win7 virtual machine IP address is 192.168.1.50, the IP address of the Win7 virtual machine that provides the Web service is 192.168.1.100.

2, install the BIND service on Linux, the system CD-ROM comes with the BIND software package, mounted directly after installation.

3, after the successful installation, will automatically add a named system services, the following major modifications named service configuration file, mainly has three/etc/named.conf,/etc/named.rfc1912.zones,/var/named/directory template files.

4, first modify the/etc/named.conf master configuration file.

5, modify the/etc/named.rfc1912.zones zone configuration file below, add or modify two blocks of zone zone directly inside, one for forward parsing, the other for reverse parsing.

6, finally modify the/var/named/directory of the Zone profile template, the first copy of the Named.localhost template file in the inside of the change, note here, in the copy to retain the original file of the owner and the group.

    1. Start modifying the configuration file below.

    1. A copy of the file is then used for reverse parsing.

    1. After the configuration file has been modified, turn off the firewall and system-enhanced security features (ready for future access) and start the named service.

    2. Use the host tool to test forward and reverse parsing.

    3. The Web service is turned on in the Win7 virtual machine that provides the Web services, and the domain name and IP address are bound to IIS Manager.



    1. Finally, set the IP and DNS server addresses in the Win7 virtual machine that accesses the Web site service.

    1. Note Be sure to turn off the Win7 firewall.

    2. The final access was successful.

DNS Server setup in Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.