리눅스 분류
네임서버문제인듯한데요...
작성자 정보
- 네임서버 작성
- 작성일
컨텐츠 정보
- 1,723 조회
- 0 추천
- 목록
본문
한컴퓨터에 네임서버, 메일서버, 아파치까지 모두 설정했습니다.
근데 문제가 몇가지 있습니다.
1) 일단 네임서버는 제대로 설정이 된것 같고 IP로는 홈페이지가 잘뜹니다.
근데 도메인으로 하면 홈페이지가 뜨질 않습니다.
2) 자제서버에서는 IP, 도메인으로 Ping테스트를 하면 잘 됩니다.
그러나 다른컴퓨터에서 Ip로는 Ping이 잘됩니다.
근데 도메인으로 Ping테스트를 하면 반응이 없습니다.
아래내용들은 제가 설정한 파일들의 내용입니다.
###### named.conf 파일 시작 ###############################
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// 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 "anymaster.co.kr" IN {
type master;
file "anymaster.zone";
allow-update { none; };
};
zone "***.244.203.in-addr.arpa" IN {
type master;
file "anymaster.rev";
allow-update { none; };
};
include "/etc/rndc.key";
###### named.conf 파일 끝 ###############################
###### anymaster.zone 파일 시작 ###############################
$TTL 86400
@ IN SOA ns.anymaster.co.kr. root.anymaster.co.kr. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.anymaster.co.kr.
IN A 203.244.***.***
IN MX 10 anymaster.co.kr.
@ IN A 203.244.***.***
ns IN A 203.244.***.***
www IN A 203.244.***.***
###### anymaster.zone 파일 끝 ###############################
###### anymaster.rev 파일 시작 ###############################
$TTL 86400
@ IN SOA ns.anymaster.co.kr. root.anymaster.co.kr. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.anymaster.co.kr.
186 IN PTR ns.anymaster.co.kr.
186 IN PTR www.anymaster.co.kr.
186 IN PTR anymaster.co.kr.
186 IN PTR mail.anymaster.co.kr.
###### anymaster.rev 파일 끝 ###############################
###### resolv.conf 파일 시작 ###############################
search anymaster.co.kr
nameserver 203.244.164.186
###### resolv.conf 파일 끝 ###############################
###### hosts 파일 시작 ###############################
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 www.anymaster.co.kr www localhost.localdomain localhost
203.244.164.186 ns ns.anymaster.co.kr
###### hosts 파일 끝 ###############################
###### nslookup 시작 ###############################
[root@www ]nslookup
>anymaster.co.kr
Server: 203.244.***.***
Address: 203.244.***.***#53
Name: anymaster.co.kr
Address: 203.244.***.***
>set type=ns
>anymaster.co.kr
Server: 203.244.***.***
Address: 203.244.***.***#53
anymaster.co.kr nameserver=ns.anymaster.co.kr.
###### nslookup 끝 ###############################
정말 네임서버 어렵네요..ㅠ.ㅠ
문제점을 해결해주시면 대단히 감사하겠습니다.
근데 문제가 몇가지 있습니다.
1) 일단 네임서버는 제대로 설정이 된것 같고 IP로는 홈페이지가 잘뜹니다.
근데 도메인으로 하면 홈페이지가 뜨질 않습니다.
2) 자제서버에서는 IP, 도메인으로 Ping테스트를 하면 잘 됩니다.
그러나 다른컴퓨터에서 Ip로는 Ping이 잘됩니다.
근데 도메인으로 Ping테스트를 하면 반응이 없습니다.
아래내용들은 제가 설정한 파일들의 내용입니다.
###### named.conf 파일 시작 ###############################
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// 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 "anymaster.co.kr" IN {
type master;
file "anymaster.zone";
allow-update { none; };
};
zone "***.244.203.in-addr.arpa" IN {
type master;
file "anymaster.rev";
allow-update { none; };
};
include "/etc/rndc.key";
###### named.conf 파일 끝 ###############################
###### anymaster.zone 파일 시작 ###############################
$TTL 86400
@ IN SOA ns.anymaster.co.kr. root.anymaster.co.kr. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.anymaster.co.kr.
IN A 203.244.***.***
IN MX 10 anymaster.co.kr.
@ IN A 203.244.***.***
ns IN A 203.244.***.***
www IN A 203.244.***.***
###### anymaster.zone 파일 끝 ###############################
###### anymaster.rev 파일 시작 ###############################
$TTL 86400
@ IN SOA ns.anymaster.co.kr. root.anymaster.co.kr. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.anymaster.co.kr.
186 IN PTR ns.anymaster.co.kr.
186 IN PTR www.anymaster.co.kr.
186 IN PTR anymaster.co.kr.
186 IN PTR mail.anymaster.co.kr.
###### anymaster.rev 파일 끝 ###############################
###### resolv.conf 파일 시작 ###############################
search anymaster.co.kr
nameserver 203.244.164.186
###### resolv.conf 파일 끝 ###############################
###### hosts 파일 시작 ###############################
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 www.anymaster.co.kr www localhost.localdomain localhost
203.244.164.186 ns ns.anymaster.co.kr
###### hosts 파일 끝 ###############################
###### nslookup 시작 ###############################
[root@www ]nslookup
>anymaster.co.kr
Server: 203.244.***.***
Address: 203.244.***.***#53
Name: anymaster.co.kr
Address: 203.244.***.***
>set type=ns
>anymaster.co.kr
Server: 203.244.***.***
Address: 203.244.***.***#53
anymaster.co.kr nameserver=ns.anymaster.co.kr.
###### nslookup 끝 ###############################
정말 네임서버 어렵네요..ㅠ.ㅠ
문제점을 해결해주시면 대단히 감사하겠습니다.
관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.