17일차

dnf -y install bind bind-utils nano /etc/named.conf cd /var/named named-checkconf any; none; any; no; zone "google.com" IN { type master; file "google.com.zone"; allow-update { none; }; }; zone "naver.com" IN { type master; file "naver.com.zone"; allow-update { none; }; }; zone "ysh16.kr" IN { type master; file "ysh16.kr"; allow-update { none; }; }; cd /var/named/ cp named.localhost nave.com.zone cp named.localhost google.com.zone mv nave.com.zone naver.com.zone nano ysh16.kr NS ns.ysh16.kr. A 10.0.2.15 ns IN A 10.0.2.15 nslookup ysh.kr nano resolv.conf nameserver 10.0.2.15 chown root.named ysh.kr.zone 10.0.2.3 리록스 보안 설정 해제 nano /etc/selinux/conifg SELINUX=enforcing > disabled systemctl stop firewalld systemctl start httpd systemctl start named reboot