메뉴 건너뛰기

조회 수 7089 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부
악수하는 사람들 네임서버 세팅

1.234.41.200

# rpm -qa | grep bind

* 필요패키지

rpcbind-0.2.0-11.el6.x86_64
ypbind-1.20.4-30.el6.x86_64
bind-libs-9.8.2-0.23.rc1.el6_5.1.x86_64
bind-utils-9.8.2-0.23.rc1.el6_5.1.x86_64
bind-9.8.2-0.23.rc1.el6_5.1.x86_64

# yum install -y bind bind-libs bind-utils

* named 설정파일은 /etc/에 위치.
# vi /etc/named.conf

options {
        listen-on port 53 { any; };
        listen-on-v6 port 53 { ::1; };
        directory       "/var/named";
        dump-file       "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
        allow-query     { localhost; };
        recursion no;

:wq


# vi /etc/named.rfc1912.zones


zone "jupasu.com" IN {
        type master;
        file "jupasu.com.zone";
        allow-update { none; };
        notify no;
};

zone "ns.jupasu.com" IN {
        type master;
        file "ns.jupasu.com.zone";
        allow-update { none; };
        notify no;
};

zone "51.234.1.in-addr.arpa" IN {
        type master;
        file "jupasu.com.rev";
        allow-update { none; };
        notify no;
};

zone "0.in-addr.arpa" IN {
        type master;
        file "named.empty";
        allow-update { none; };
        notify no;
};

zone "jupasu.co.kr" IN {
        type master;
        file "jupasu.co.kr.zone";
        allow-update { none; };
        notify no;
};

zone "jupasu.net" IN {
        type master;
        file "jupasu.net.zone";
        allow-update { none; };
        notify no;
};


:wq


3. named zone 설정 파일 위치는 /var/named

/var/named에 localhost로 디폴트 zone 파일 등이 존재한다.

이것을 복사하여 새로 설정해줄 zone 파일을 생성하여 사용한다.

---> 이런 식이다.




4. 

List of Articles
번호 제목 날짜 조회 수
97 yum 업데이트 빠르게 하기 (yum-fastestmirror 플러그인 2014.02.27 7749
96 yum 업데이트 시 특정 패키지 예외처리 2016.03.18 8350
95 yum-fastestmirror로 CentOS 5.0 의 yum 속도 업! 2016.03.18 7513
94 Yum과 rpm을 이용하여 PHP5.5버전 설치 2016.03.18 8075
93 yum으로 phpmyadmin 설치 2014.03.26 7544
92 ZendOptimizer 3.3.9 설치하기 2014.03.26 7052
91 [apache] - .htaccess 설정 2016.03.18 7262
90 [CentOS 6.5] JDK (JAVA) 설치 file 2017.03.11 8692
89 [CentOS 6.5] SSH,TELNET, FTP 설치 및 운용 file 2017.03.11 8565
88 [CentOS 6.5] Tomcat 설치 및 구동 file 2017.03.11 9483
87 [CentOS 6.5] Virtual Box를 이용한 CentOS 6.5 설치 file 2017.03.11 6600
86 [CentOS 7] SSH 무작위 로그인 시도 막기 ( Fail2Ban ) 2018.03.28 69726
85 [Linux]리눅스,사용자계정(관련 파일,명령어) file 2015.11.21 8159
84 기본 허가권,퍼미션 지정(제어, 설정)하기(umask와 작동 원리) file 2023.01.12 164
83 긴급 스왑 메모리 추가 하기 2014.03.26 7622
82 다중명령어(세미콜론(;), 파이프pipe(|), 더블 엔퍼센트 &&, ||)의미,사용법과 차이점 file 2023.01.12 158
81 대용량 HDD 파티셔닝(Mass storage Partitioning) 2014.02.27 7352
80 도메인 포워딩 설정 2014.02.27 7970
79 도메인에 자동으로 www 붙도록 설정하기 2014.02.27 7581
78 리눅스 - 동시접속자 확인 방법 2014.02.27 7699
Board Pagination Prev 1 ... 3 4 5 6 7 8 9 10 11 12 Next
/ 12

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved