域控????? ? ?dc.yimitest.com??????????192.168.20.201/24
DNS????????dns.yimitest.com????????192.168.20.154/24
域控????? ? ?dc.yimitest.com??????????192.168.30.201/24
DNS????????dns30.yimitest.com????192.168.30.154/24
192.168.20.154配置
vi?/etc/sysconfig/selinuxSELINUX=disabledrebootfirewall-cmd?--add-port=53/udp?--permanent firewall-cmd?--reloadyum?install?bind?-y yum?install?bind-chroot?bind-utils?-yvi?/etc/named.conf?listen-on?port?53?{192.168.20.154;127.0.0.1;}?? ?allow-query????{any;};vi?/etc/named.rfc1912.zones------------------------------
zone?"yimitest.com"??IN?{ ????type?master; ???? ????file?"yimitest.com.zon"; ???? ????allow-update?{ ??????192.168.20.201????//域控ip地址 ????}; ???? };-------------------------------
vi??/var/named/yimitest.com.zon---------------------------------------
$TTL?1D $ORIGIN?yimitest.com @???IN????SOA?????dns.yimitest.com.????admin.yimitest.com?( ????????????????????20170526;?serial ????????????????????1D??;?refresh ????????????????????1H??;?retry ????????????????????1W??;?expire ????????????????????3H??;?minimum ) ??????????IN????NS????dns dns????IN????A????192.168.20.154 dc??????IN????A??192.168.20.201---------------------------------------
named-checkconf?/etc/named.conf named-checkzone?yimitest.com?/var/named/yimitest.com.zon chgrp?named??/var/named/yimitest.com.zon systemctl?restart?named systemctl?enable?named systemctl?status?named dig?@192.168.20.154?dns.yimitest.com dig?@192.168.20.154?dc.yimitest.com另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線(xiàn),公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性?xún)r(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專(zhuān)為企業(yè)上云打造定制,能夠滿(mǎn)足用戶(hù)豐富、多元化的應(yīng)用場(chǎng)景需求。