DNS가 제대로 작동이 안되요.
작성자 정보
- 문복균 작성
- 작성일
컨텐츠 정보
- 2,333 조회
- 0 추천
- 목록
본문
bind 설치를 하고 데몬도 제대로 떴는데...
nslookup도 안되고 미치겠네요ㅠ
ns.bboglee.com 하면 사이트도 뜨구 잘되는데ㅠ
www. 붙이거나 bboglee.com 로 하면 안되네요
포트도.. 53(domain)번과 953(rndc) 모두 정상적이였는데..
953밖에 열리지 않네요ㅠ 데몬은 실행되구요..
## named.conf
//
// named.conf for Red Hat caching-nameserver
//
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
listen-on { xxx.xxx.xxx.xxx; };
allow-transfer { none; };
allow-query { localhost; };
allow-recursion { localhost; };
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndc-key; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
zone "bboglee.com" IN {
type master;
file "bboglee.zone";
allow-update { key "rndc-key"; };
};
include "/etc/rndc.key";
## bboglee.zone
$TTL 400
@ IN SOA ns.bboglee.com. root.bboglee.com. (
20060729 ; Serial
10800 ; Refresh
3600 ; Retry
432000 ; Expire
400) ; Minimum
;
; Name Server
;
IN NS ns.bboglee.com.
;bboglee.com. IN NS ns.bboglee.com.
IN A xxx.xxx.xxx.xxx
;
; Host name & Infomation
bboglee.com. IN A xxx.xxx.xxx.xxx
@ IN A xxx.xxx.xxx.xxx
www IN CNAME @
## httpd.conf
ServerAdmin bg8710@naver.com
DocumentRoot /home/httpd/html
ServerName bboglee.com
Serveralias bboglee.com *.bboglee.com
ErrorLog logs/bboglee.com-error_log
CustomLog logs/bboglee.com-access_log common
options FollowSymLinks
AllowOverride FileInfo
관련자료
-
이전
-
다음