DNS ( Domain Name Server ) 설치.
준비 : CentOS 5.5
yum -y install bind
yum -y install bind-libs
yum -y install bind-utils
yum -y install bind-chroot
yum -y install caching-nameserver
총5가지를 설치 합니다.
수정.
-----------------
vi /etc/resolv.conf
----------------
vi /etc/sysconfig/network
--------------------------------------------------------
vi /var/named/chroot/etc/named.caching-nameserver.conf
--------------------------------------------------------
//
// named.caching-nameserver.conf
//
// Provided by Red Hat caching-nameserver package to configure the
// ISC BIND named(8) DNS server as a caching only nameserver
// (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
// DO NOT EDIT THIS FILE - use system-config-bind or an editor
// to create named.conf - edits to this file will be lost on
// caching-nameserver package upgrade.
//
options {
//listen-on port 53 { 127.0.0.1; };
//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";
// Those options should be used carefully because they disable port
// randomization
// query-source port 53;
// query-source-v6 port 53;
//allow-query { localhost; };
//allow-query-cache { localhost; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
//view localhost_resolver {
// match-clients { localhost; };
// match-destinations { localhost; };
// recursion yes;
// include "/etc/named.rfc1912.zones";
//};
include "/etc/named.rfc1912.zones";
----------------
vi /var/named/chroot/etc/named.rfc1912.zones
마지막 줄에 추가.
zone "test.naver.com" IN {
type master;
file "test.naver.com.zone";
allow-update { none; };
};
----------------
vi /var/named/chroot/var/named/도메인.zone
$TTL 86400
@ IN SOA test.naver.com. root (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
60 ) ; minimum
IN NS ns.test.naver.com.
IN A 172.29.7.1
test1 IN A 11.111.11.11
----------------
/etc/resolv.conf
nameserver 127.0.0.1
-----------------------------
ping test.naver.com
ping test1.test.naver.com
'리눅스 > 리눅스설정방법' 카테고리의 다른 글
리눅스 랜카드 추가 설치.. (972) | 2011.11.11 |
---|---|
ssh 한글깨짐현상 고치기. (12) | 2011.03.17 |
DNS ( Domain Name Server ) 설치. (55712) | 2011.03.04 |
리눅스백업 ( rsync ) (1) | 2011.02.19 |
proftpd 설치 (ftp 설치) (507) | 2011.02.18 |
quota (사용자 하드용량 정하기) (3520) | 2011.02.17 |
- 이전 댓글 더보기
-
- christian louboutin discount size 10
- 2015.01.23 17:32
이용약관위배로 관리자 삭제된 댓글입니다. -
- christian louboutin un bout replica uk
- 2015.01.23 17:32
이용약관위배로 관리자 삭제된 댓글입니다. -
- giuseppe zanotti or louboutin
- 2015.01.23 17:33
이용약관위배로 관리자 삭제된 댓글입니다. -
- louboutin pendant les soldes
- 2015.01.23 17:34
이용약관위배로 관리자 삭제된 댓글입니다. -
- france louboutin soldes avis
- 2015.01.23 17:38
이용약관위배로 관리자 삭제된 댓글입니다. -
- louboutin daffodile sale
- 2015.01.23 17:41
이용약관위배로 관리자 삭제된 댓글입니다. -
- christian louboutin for discount
- 2015.01.23 17:43
이용약관위배로 관리자 삭제된 댓글입니다. -
- louboutin sixties 70
- 2015.01.23 17:45
이용약관위배로 관리자 삭제된 댓글입니다. -
- christian louboutin siège social france
- 2015.01.23 17:47
이용약관위배로 관리자 삭제된 댓글입니다. -
- christian louboutin boutique barcelona
- 2015.01.23 17:50
이용약관위배로 관리자 삭제된 댓글입니다. -
- buy christian louboutin shoes wholesale
- 2015.01.23 17:52
이용약관위배로 관리자 삭제된 댓글입니다. -
- louboutin pigalle 120 vs so kate
- 2015.01.23 17:54
이용약관위배로 관리자 삭제된 댓글입니다. -
- christian louboutin decollete sizing
- 2015.01.23 17:55
이용약관위배로 관리자 삭제된 댓글입니다. -
- louboutin boutique suisse
- 2015.01.23 17:56
이용약관위배로 관리자 삭제된 댓글입니다. -
- ferragamo belt
- 2015.01.23 17:59
이용약관위배로 관리자 삭제된 댓글입니다. -
- christian louboutin shop la
- 2015.01.23 18:14
이용약관위배로 관리자 삭제된 댓글입니다. -
- christian louboutin forum las vegas
- 2015.01.23 18:24
이용약관위배로 관리자 삭제된 댓글입니다. -
- nike basketball shoes,nike shoes,nike basketball
- 2015.01.23 19:09
이용약관위배로 관리자 삭제된 댓글입니다. -
- Jordan 11 Legend Blue
- 2015.01.24 01:59
이용약관위배로 관리자 삭제된 댓글입니다. -
- Jordan 10 Bulls Over Broadway
- 2015.01.24 01:59
이용약관위배로 관리자 삭제된 댓글입니다.