Linux in the separation in the analysis as a gateway to
resolve range division:
1. External area analysis WAN
2. LAN inner area analysis
definitions: The different areas of the visitors, the same parsing a different address domain obtained
Open a linux, two windows (1 and 2) system. Download bind linux package in the online networking system, add a new card to the system is complete, and select only the host mode (only three systems are all host mode)
in the first NIC ens33 edit static ip and subnet mask, will this card as an internal gateway.
Copy ens33 as ens36 profile into ens36 second network card for editing.
Editing static ip and subnet mask in the second card ens36, this card as an external gateway.
After editing is complete, restart the service card, two card configuration is complete.
1 window into the system again, to configure a static ip and subnet mask, default gateway and other information.
Suit, in the window system 2, which is configured to static ip and subnet mask, default gateway and other information.
After setting the two cards, can be a gateway to ping itself (in the ping cmd)
Enter dns server's main configuration file /etc/named.conf, modify the listening range of two network cards, that is amended as any. Allowing access to the parsing any (i.e., to allow any access parsing).
Enter dns server configuration file /etc/named.rfc1912.zones area, configure the LAN and WAN data. Requiring extra care when hand letter format and knock data (if there is wrong, dns services will not turn on), the subsequent redundant data is deleted.
Copy the data files out, named kgc.com.lan, and enter the edit
data files copied out kgc.com.lan named kgc.com.wan, and enter the edit
edit saved, open dns server
later, turn off the firewall and enhanced security features.
We then windows on the first system test dns resolve
when parsing a wide area network, the addresses are parsed gateway address: 12.0.0.1
Finally, we come to the windows of the second stage system test dns resolution (LAN resolved)
in the LAN when parsing, parsing out the addresses are real addresses.