| 248 번 글: [bind] only caching server for localhost |
| 글쓴이: 산이
[홈페이지]
|
글쓴날: 2010년 08월 03일 23:16:10 화(저녁) |
조회: 2182 |
[bind] only caching server for localhost
localhost 전용 캐싱전용 서버 설정
shell> dig @a.root-servers.net . ns +tcp > /var/named/named.ca
-- /etc/named.conf ------------------
options {
directory "/var/named";
allow-recursion {127.0.0.1;};
allow-transfer {127.0.0.1;};
listen-on {127.0.0.1;};
};
zone "." {
type hint;
file "named.ca";
};
--------------------------------------
-- /etc/resolv.conf ------------------
nameserver 127.0.0.1
...
--------------------------------------
|
이전글 : [shell] 특정 라인에 문자열 추가하기
다음글 : [PHP] 한글문자 패턴매칭
|
from 114.111.62.248
JS(Redhands)Board 0.4 +@
|