#캐시 네임 서버
- 사용자들의 질의를 받아 DNS 정보를 조회하여 응답해주는 네임서버
> 캐시 DNS 서버 구축
1. 서비스에 필요한 패키지 찾기
-bind, bind-utils
2. 패키지 버전 확인
3. 패키지 설치
[root@localhost name]# yum install -y bind bind-utils
4. 설정 및 확인(시작을 해야 가능한 경우도 존재함)
[root@localhost name]#vi /etc/named.conf
5. 서비스 시작(#systemctl restart)
[root@localhost name]#systemctl restart named
6. 서비스 확인(#systemctl status)
[root@localhost name]#systemctl status named
7. 방화벽 설정
[root@localhost name]#firewall-cmd --add-port={53/udp,53/tcp}
[root@localhost name]#firewall-cmd --add-port={53/udp,53/tcp} --permanent
8. 방화벽 설정 확인
[root@localhost name]#firewall-cmd --list-all
9. 포트 상태 확인
[root@localhost name]# netstat -nltp | grep
연습 dns가 ip를 받아오는 과정
[root@localhost name]#dig @192.168.56.10 www.busan.go.kr A +trace
'OS > Linux' 카테고리의 다른 글
[Linux] Master DNS Server 구성 (0) | 2024.10.29 |
---|---|
[VMware] IP, Gateway, DNS - Address 할당 (0) | 2024.10.22 |
[Linux] 웹 서버 구축 - 방화벽(설정) (1) | 2024.10.15 |
[Linux] 웹 서버 구축 - 서비스(시작 및 확인) (0) | 2024.10.15 |
[Linux] 웹 서버 구축 - 패키지(찾기, 확인, 설치) (0) | 2024.10.15 |