데몬 스크립트 파일 : /etc/rc.d/init.d/named
작성자 정보
- 구돌 작성
- 작성일
컨텐츠 정보
- 2,315 조회
- 0 추천
- 목록
본문
데몬 스크립트 파일 : /etc/rc.d/init.d/named
도메인네임서버인 BIND DNS 서버(named) 데몬을 실행(중지)시키는 스크립트입니다.
여러분들께서도 잘 아시는 바와 같이 BIND 데몬인 named는 해당 도메인에 대한 IP주소를 알려주거나 반대로 IP주소를 도메인으로 알려주는 역할을 합니다.
그리고 각 도메인들에 대한 레코드값들을 설정하여 특정 도메인에 대한 정보서비스를 제공합니다.
DNS로 사용되는 서버에서는 반드시 실행되어야하는 데몬입니다.
사용옵션 : start|stop|status|restart|condrestart|reload|probe
도메인정보(zone)파일 저장위치 : /var/named
설정파일 : /etc/named.conf
스크립트 사용예
[root@ command init.d]# /etc/rc.d/init.d/named stop Stopping named : [ OK ] [root@ command init.d]# [root@ command init.d]# /etc/rc.d/init.d/named start Starting named : [ OK ] [root@ command init.d]# [root@ command init.d]# /etc/rc.d/init.d/named restart Stopping named : [ OK ] Starting named : [ OK ] [root@ command init.d]# [root@command init.d]# ps -ef | grep named named 2306 1 0 23:12 ? 00:00:00 [named] root 2315 1993 0 23:12 pts/0 00:00:00 grep named [root@command init.d]# |
관련자료
-
이전
-
다음