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

Configuration of SHELL scripts DNS separation service

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

Share

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

Configure the parsing script file for the DNS separation service 1. Experimental environment: prepare 2 network cards. The script is as follows: #! / bin/bash# configuration dual network card # define the network card configuration file location k=/etc/sysconfig/network-scripts# copy network card configuration file template cd / etc/sysconfig/network-scriptscp-p ifcfg-ens33 ifcfg-ens36# modify the first network card configuration file sed-I's use dhcp k/ifcfg-ens33'$k/ifcfg-ens33cat > > $k/ifcfg-ens33 $network / etc/named.rfc1912.zones / var/named/kgc.com.lan / var/named/kgc.com.wan

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