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

Simple management and use of DNS

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

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

What we bring to you today is the creation and use of the root domain. Delegation will be used here. Friends who need it can check the previous article for themselves.

The DNS root domain is created using the

1 create a new main area in Server1 with the name. (point in English)

Complete the creation of the domain

2 create a new primary zone in Server2

Take baidu.com as an example.

Create a new A record (host record)

3 create a new major region in Server3. Here, take sina.com as an example

Create a new A record (host record)

4 go back to Server1 and create a new delegate in the root domain

Delegate baidu.com parsing to Server2

Add ip for Server2

Complete creation

In 5Server1, create a new delegate in the root domain

Delegate sina.com to Swever3

Add ip for Server3

Complete creation

6. Add a root prompt in Server2

Add ip for Server1

7 add a root prompt in Server3

Add ip for Server1

8 Test

If you point the preferred DNS of Server2,Server3 to yourself and test on Server2 (or Server3), you can only parse the domain you are responsible for, but not other domains, because the root prompt has been added, so if you can parse another domain, it will prove that the experiment is successful.

First point the preferred DNS of Server2 (Server3) to yourself (here only Server2 is used as the test, and the test on Server3 is the same as Server2)

In Server2, use the ping command, ping www.baidu.com, to resolve to Server2 (see the ip address after the domain name, 192.168.20.102 is the ip address of Server2)

On Server2, use the ping command, ping www.sina.com, and if you resolve to Server3, the experiment is successful (look at the ip address after the domain name, 192.168.20.103 is the ip address of Server3)

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

Network Security

Wechat

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

12
Report