Configuring DNS separation resolution on Linux

Source: Internet
Author: User
DNS Separation Parsing principle: Let the external network resolve the internal server when resolving to the extranet gateway address, internal host to resolve internal server when an internal address.
Requirements: One Linux6.5 two WIN7/10 and only host mode
The specific configuration is as follows:
1. Install the DNS package

2 Modifying a configuration file

`vim /etc/named.rfc1912.zones `                 //进入修改区域配置文件                 


cd /etc/named.conf

`cd /var/named                    //区域数据配置文件路径`cp -p named.localhost benet.com.zone.lan            //保留属主属组复制更名  cp -p named.localhost benet.com.zone.wan        //保留属主属组复制更名     `vim  benet.com.zone.lan`

`vim  benet.com.zone.lan`

3 Turn off firewall restart service

4 WIN7/10 Configuration
Host mode only then virtual WIN7/10 Configure IP

5 Configuring the dual NIC and restarting the network service




6 Verification

Ok!

Configuring DNS separation resolution on Linux

Related Article

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.