站在用户的角度思考问题,与客户深入沟通,找到白云网站设计与白云网站推广的解决方案,凭借多年的经验,让设计与互联网技术结合,创造个性化、用户体验好的作品,建站类型包括:做网站、成都网站建设、企业官网、英文网站、手机端网站、网站推广、域名申请、网络空间、企业邮箱。业务覆盖白云地区。
域控 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