您好,登錄后才能下訂單哦!
域控????? ? ?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/selinux
SELINUX=disabled
reboot
firewall-cmd?--add-port=53/udp?--permanent firewall-cmd?--reload
yum?install?bind?-y yum?install?bind-chroot?bind-utils?-y
vi?/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
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。