답답해서 이렇게 질문을 올립니다.. ㅜ.ㅜ;;
작성자 정보
- 이성재 작성
- 작성일
컨텐츠 정보
- 1,242 조회
- 0 추천
- 목록
본문
제가 서버한대에서 네임서버, 메일 서버, 웹서버를 돌릴려고 하거든여...
OS는 REDHAT 8.0이구여...
NAMESERVER는 Bind9.2.1이구여...메일서버는 Sendmail8.12.6, 웹서버는 apache....
whois에서 xxxxx.co.kr과 xxxxx.com을 등록하구여.. Nameserver를 ns.xxxxx.co.kr로 설정했구여.. ip는 1.2.3.4으로여..
근데 문제는 브라우져에서 IP로는 물론 접속 및 Sendmail 테스트도 해 봤는데 문제가 없는데여..
xxxxx.co.kr과 xxxxx.com으로 연결이 안됩니다....
문제가 DNS라고 생각되서 살펴보아도 원체 실력도 안되는데다가 .....ㅡ.ㅡ;;
아래는 제 서버에 설정한 DNS내용입니다... 어디가 잘못되었는지 좀 가르쳐 주세여....
고수님들의 정성어린 답변을 기대하겠습니다... ^ ^;;;
/etc/named.conf
options {
directory "/var/named";
// query-source address * port 53;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
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 "xxxxx.co.kr" IN {
type master;
file "xxxxx.zone";
allow-update { none; };
};
zone "3.2.1.in-addr.arpa" IN {
type master;
file "xxxxx.rev";
allow-update { none; };
};
include "/etc/rndc.key";
/etc/hosts
127.0.0.1 sfakorea localhost.localdomain localhost
1.2.3.4 xxxxx xxxxx.co.kr localhost
/etc/resolv.conf
nameserver 1.2.3.4
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
/var/named/xxxxx.zone
$TTL 86400
xxxxx.co.kr. IN SOA ns.xxxxx.co.kr. master.xxxxx.co.kr. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
@ IN NS ns.xxxxx.co.kr.
@ IN A 1.2.3.4
@ IN MX 100 xxxxx.co.kr.
aaaa IN A 1.2.3.4
www IN CNAME aaaa
mail IN CNAME aaaa
ftp IN CNAME aaaa
telnet IN CNAME aaaa
/var/named/xxxxx.rev
$TTL 86400
@ IN SOA ns.xxxxx.co.kr. root.ns.xxxxx.co.kr. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.xxxxx.co.kr.
4 IN PTR ns.xxxxx.co.kr.
4 IN PTR www.
4 IN PTR mail.
4 IN PTR ns.
4 IN PTR telnet.
4 IN PTR new.
4 IN PTR home.
관련자료
-
이전
-
다음