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

Configure a master-slave DNS server

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

Share

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

one。 First configure a master server configuration link

1. Install bind yun-y install bind

two。 View listening port

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

3. Modify the zone profile

4. Modify the zone profile of the primary server

5. 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.

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