| 656 번 글: [질문]한대의 머신이 Web server이자 Mail Server일 때. |
| 글쓴이: 한경숙
|
글쓴날: 2001년 05월 24일 15:07:48 목(오후) |
조회: 1139 |
안녕하세요.
한대의 머신이 Web server, Mail Server 그리고 Name sever의 역할을 모두
해야 합니다.
# netcfg &
하여 설정한 network 내용은 다음과 같습니다.
IP : 10.0.0.1
host name : test.com
domain name : test.com
name server : 10.0.0.1
제가 다음과 같이 DNS 관련 file을 설정했는데 문제가 있네요.
1)
[root@test /root]# cat /etc/sendmail.cf | grep Cw
Cwlocalhost
[root@test /root]# vi /etc/sendmail.cf
##################
# local info #
##################
Cwlocalhost test.com www.test.com mail.test.com ns.test.com
2)
[root@test mail]# pwd
/etc/mail
[root@test mail]# vi local-host-names
# local-host-names - include all aliases for your machine here.
test.com
www.test.com
mail.test.com
ns.test.com
3)
[root@test named]# pwd
/var/named
[root@test named]# vi zone-test.com
$TTL 86400
@ IN SOA ns.test.com. root.test.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.test.com.
test.com. IN A 10.0.0.1
test.com. IN MX 10 test.com.
mail.test.com. IN A 10.0.0.1
mail.test.com. IN A 10 test.com
******** 위와 같이 설정했을 때 나타나는 문제는 다음과
같습니다. ********
1)
[root@test /root]# nslookup test.com
*** Can't find server name for address 10.0.0.1: No response from server
*** Default servers are not available
2)
[root@test /root]# telnet mail.test.com 110
mail.test.com: Host name lookup failure
[root@test /root]# telnet test.com 110
Trying 10.0.0.1...
Connected to test.com.
Escape character is '^]'.
+OK POP3 test.com v2000.69rh server ready
quit
+OK Sayonara
Connection closed by foreign host.
3) mail client에서 POP3 server 설정할 때 mail.test.com 이라고 설정한
경우는
cann't open the server 라는 메시지가 나옵니다.
그러나 POP3 server를 test.com 라고 설정한 경우는 mail을
읽어옵니다.
4) netscape에서 URL을 http://test.com 이라고 하면 정상적으로
접속하지만
URL을 http://www.test.com
이라고 하면 DNS에 없다고 하면서
보관 중인 html 문서를 불러온다는 dialog box가 뜹니다.
제가 mail server와 web server와 DNS를 정상적으로 동작시키기 위해서
무엇을 해야 할까요?
좋은 하루 되세요!!!
|
이전글 : Re: 가상유저테이블 설정(센드메일)
다음글 : Re: [질문]한대의 머신이 Web server이자 Mail Server일 때.
|
from 211.192.56.45
JS(Redhands)Board 0.4 +@
|