답변글 고맙습니다.
말씀하신대로 수정하고 inetd, named 리스타트 해봤는데요..
그래도 아직 마찬가지군요..
[root@ns edupeople]# nslookup $domain.co.kr
*** Can't find server name for address 211.48.158.***: Non-existent host/domain
Server: ns.kornet.net
Address: 168.126.63.1
Non-authoritative answer:
Name: $domain.co.kr
Address: 211.48.158.***
[root@ns edupeople]# telnet localhost pop3
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
서버네임이나 호스트를 못찾는다는 소리만 자꾸 나옵니다.
혹시 /etc/hosts 말고 또 어디 다른곳을 손봐야 하는건가요?
제발 좀 도와주세요...
: mail IN CNAME ns 는 삭제하시구요...
:
: domain.co.kr IN A 211.48.158.***
: 에서 . 을 찍지 않으셨더군요....
:
: domain.co.kr. IN A 211.48.158.***
: ns IN A 211.48.158.***
: www IN CNAME ns
: ftp IN CNAME ns
:
: 제답변이 도움이 되었는지 모르겠군요....
: 즐거운 하루되시길
:
: 순대에서 마니기가...
:
:
:
: : 리눅스 쌩 초짜입니다.
: : 이곳 게시판 도움으로 어렵다는 DNS 설정을 대충 했습니다.
: : 외부에서 도메인 호출하면 잘 작동도 합니다. www,ftp,telnet 다~ 됩니다.
: : 폼메일 스크립트로 메일도 (서버에서 외부로)보내지는거 확인했습니다.
: : 그런데 리눅스머신에서 호출하면 안됩니다. 메일도 못받습니다.
: :
: : 사용 ip는 하나(211.48.158.***)이고 dns,web,mail 을 같이 써보고 싶습니다.
: :
: : 이런 에러가 납니다.
: :
: : **********************************************************************
: : [root@ns wkang]# nslookup yahoo.com
: : *** Can't find server name for address 211.48.158.***: Non-existent host/domain
: : Server: ns.kornet.net
: : Address: 168.126.63.1
: :
: : Non-authoritative answer:
: : Name: yahoo.com
: : Addresses: 204.71.200.243, 204.71.200.245
: :
: : [root@ns wkang]# telnet localhost pop3
: : Trying 127.0.0.1...
: : Connected to localhost.
: : Escape character is '^]'.
: :
: : Connection closed by foreign host.
: : **********************************************************************
: :
: : 우선 /etc/hosts 의 내용입니다.
: : 127.0.0.1 localhost localhost.localdomain
: : # The below is auto-generatedinitscript: Plz check yourself
: : 211.48.158.*** ns.domain.co.kr ns
: : ************************************************************
: :
: : 다음 /etc/named.conf 입니다.
: : options {
: : directory "/var/named";
: : };
: : zone "." IN {
: : type hint;
: : file "named.ca";
: : };
: : zone "0.0.127.in-addr.arpa" IN {
: : type master;
: : file "named.local";
: : };
: : zone "158.48.211.in-addr.arpa" {
: : type master;
: : file "named.rev";
: : };
: : zone "domain.co.kr" {
: : type master;
: : file "domain.zone";
: : };
: : ************************************************************
: : 다음 /var/named/named.local 입니다.
: : @ IN SOA ns.domain.co.kr. admin.domain.co.kr. (
: : 1997022700 ; Serial
: : 28800 ; Refresh
: : 14400 ; Retry
: : 3600000 ; Expire
: : 86400 ) ; Minimum
: : IN NS ns.domain.co.kr.
: : ; IP-Domain mapping
: : 1 IN PTR localhost.
: : ************************************************************
: : 다음 /var/named/named.rev 입니다.
: : @ IN SOA ns.domain.co.kr. admin.domain.co.kr. (
: : 2000100308 ;Serial
: : 21600 ;Refresh
: : 1800 ;Retry
: : 1209600 ;Expire
: : 86400) ;Minimum
: : IN NS ns.domain.co.kr.
: : ; IP-Domain mapping
: : ************************************************************
: : 다음 /var/named/domain.zone 입니다.
: : @ IN SOA ns.domain.co.kr. master.domain.co.kr. (
: : 2000093019 ;Serial
: : 28800 ;Refresh
: : 14400 ;Retry
: : 3600000 ;Expire
: : 86400 ) ;Minimum
: : IN NS ns.domain.co.kr.
: : IN A 211.48.158.***
: : ;
: : domain.co.kr. IN MX 10 mail.domain.co.kr.
: : mail.domain.co.kr. IN A 211.48.158.***
: : ;
: : ;host information
: : ;211.48.158.***
: : ;
: : domain.co.kr IN A 211.48.158.***
: : ns IN A 211.48.158.***
: : www IN A 211.48.158.***
: : ftp IN CNAME ns
: : mail IN CNAME ns
: : ************************************************************
: :
: : 염치없지만 좀 살펴보시고 도움 주시길 부탁드려봅니다.
: : 그리고, 어째서 외부에서는 들어올수 있고, 또 메일 송신은 되고
: : 그 역은 안되는건지 속시원한 답변도 좀 부탁드리겠습니다.
: :--이 곳에 서명을 적어주십시오.
미리 감사드립니다.