Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Separate and parse DNS server

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Separation and resolution mainly refers to providing different domain name resolution records according to different clients. When clients from different addresses request to resolve the same domain name, they provide them with different resolution results.

This experiment requires one linux and two win7 to be turned on.

Dual network cards need to be configured in Linux:

Right-click in Settings and click the network adapter:

Select host-only mode:

Check all the Nic information on the terminal, and eth2 has been added:

Copy an eth0 into eth2:

Configure eth2:

Modify the name of the network card to eth2

Copy and paste the mac address of ehh2 first.

Modify the IP address to 12.0.0.1:

Make changes to eth0:

Change the IP address to 192.168.100.1

Restart the service:

Edit the main profile:

Edit the zone profile:

Define the intranet: view "lan"

Define the public network: view "wan"

Match-clients indicates that the network segment of the matching client

File files need to be divided into internal and external networks.

Delete everything except view

Delete the root domain in the main configuration file:

Edit area data profile

One is the intranet area data configuration file.

One is the public network area data configuration file:

Intranet:

Public network:

Activate the service:

Turn off the firewall:

Win7-1 (responsible for private network resolution):

Win7-3 (responsible for public network resolution):

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report