大橙子网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
域控 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另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。