FIGS .dns a separate analytical and experimental FIG understood
linux as a gateway to do analytical separation
External WAN area
within the LAN area analysisAccording to the visitor different regions of the same domain name to resolve to get a different address
NAT address translation
my private address by converting to make a tag port, converted
into a public IP address, all of our own host with the
public network address can go out, but came back how to distinguish to which host
PAT This mode is address translation a model port ~~
1. We are simulations, require VM virtual machine, Centos7, two hosts as a win10 -1 WAN host, a local area network as win10 -2 host
2. Centos7 to add a piece of card, only the host mode set to
3. Check the NIC did not go up, the card is set to VMnet8 only host mode
4. The other two hosts are set to the master mode only
5. Restart our host, and then see if there is the newly added card
6. Remember to restart our two hosts and Centos7
7. into our ens33 modify the configuration information in the card
8. Enter we have just added a new card in the ens36
Delete the mac address, address to the public address of 12.0.0.1
9. Restart network services, see the card information
systemctl restrt network
10. Set ip address and default gateway for win10 -1
11. Set the ip address and default gateway for win10 -2
12. win10-1 ping test with which the internal URLs, URL outside using the ping which win10-2
13. The master configuration file to the configuration Centos7
vim /etc/named.conf
14. A data configuration file configuration zone
vim /etc/named.rfc1912.zones
15. Data area configuration profile
cd / var / named
cp -p named.localhost kgc.com.lan
came kgc.com.lan
16. The configuration of the second data area data configuration file
cp -p kgc.com.lan kgc.com.wan
came kgc.com.wan17. Turn off the firewall, turn off enhancements, open the service, check the service status
18. to win 10-1 LAN hosts can resolve to address
19. host to win 10-2 WAN can resolve to address
These are all our content, thank you watch