Detailed experimental explanation-separate analysis of DNS gateway server

1. Experimental diagram

Insert picture description here

2. Requirements

  • Use a Linux virtual machine as a gateway server
  • Test with another Linux virtual machine as PC1
  • Use a win10 virtual machine as a PC2 test
  • Two test machines use DNS to resolve addresses to obtain different results

3. The experiment begins

1. The configuration of the gateway server

① Add a new network card and use dual network cards to demonstrate the two ports of the gateway server

Insert picture description here

②, modify the configuration of the two network cards

Insert picture description here
Insert picture description here

③, restart the network card and check

Insert picture description here

④, modify the network adapter of the test machine

Insert picture description here
Insert picture description here

⑤, install bind

Insert picture description here

⑥, modify the main configuration file

Insert picture description here

⑦, modify the regional configuration file

Insert picture description here

⑧, modify the regional data configuration file

Insert picture description here

Insert picture description here

⑨, turn off the firewall and security mechanism, turn on the serviceInsert picture description here

2. Modify the DNS configuration on the Linux test machine

Insert picture description here

3. Linux test machine for DNS service test

Insert picture description here

4. DNS settings on win10 test machine

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

5. Win10 test machine for DNS service resolution test

Insert picture description here

Guess you like

Origin blog.csdn.net/Lucien010230/article/details/114006383