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

The SHELL script configures the DNS master-slave server on Centos7

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

Share

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

Master server configuration script #! / bin/bash#DNS parses the master server script file # auto by cheng at 2019.10." install service pack yum install bind-y modify the main configuration file sed-I'/ listen-on/s/127.0.0.1/192.168.102.131/' / etc/named.confsed-I'/ allow-query/s/localhost/any/' / etc/named.conf# modify the zone configuration file Cat > > / etc/named.rfc1912.zones / var/named/kgc.com.zone > / etc/named.rfc1912.zones

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