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

DNS master-slave server configuration

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

Share

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

From the role of the server

1. As a backup server for the primary DNS

two。 Load server as the primary DNS

DNS master-slave server configuration is divided into two steps.

First, configure the primary server

Detailed content and process reference

Https://blog.51cto.com/14557905/2453070

Second, configure slave server

1. Install bind yun-y install bind

two。 View listening port

3. Change the main configuration file (/ etc/named.conf)

4. Modify the zone profile

5. Modify the zone profile of the primary server

6. After the modification, restart the named service of the master server and turn on the slave server. At this time, you can see that the directory / var/named/slaves/ is the same as kgc.com.zone.

test

Modify the ip address from the server / etc/resolv.conf configuration file to point to the local host address and resolve it for yourself.

Configure a master-slave DNS server

Test with the host command

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