Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Simple management and use of DNS

Shulou Source: shulou.com Published: 2022-06-01 07:17:31 10月03日 Update

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)

Tags: Delegate address Test Zone Zhongxin prompt success Host Command Domain name Point Lab same name friend status previous English Administration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Shulou Technology Shulou Information Shulou Tech Info Linux