>> Delete No. 41792 article
No. [질문]virtualhost 와 ipchains

등록 2002-02-04 20:04:00 By localhost     조회 2
이름 handsoul    

		안녕하세요.
버처호스팅세팅을 했는데 문제가 생겼네욤.. 도와주세요...
 nslookup 도메인.co.kr 하면 잘옵니다.
 Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server:        xxx.xxx.xxx.xxx
Address:       xxx.xxx.xxx.xxx#53
 Name:  도메인.co.kr
Address: xxx.xxx.xxx.xxx
 ping 도메인.co.kr 해도 잘나옵니다.
 PING 도메인.co.kr (xxx.xxx.xxx.xxx) from xxx.xxx.xxx.xxx : 56(84) bytes of data.
Warning: time of day goes back, taking countermeasures.
64 bytes from ns.innersys.co.kr (xxx.xxx.xxx.xxx): icmp_seq=0 ttl=255 time=98 usec
 xxx.xxx.xxx.xxx 는 모두 정상입니다.
 그런에 외부에서 서버로 ping을 보내면.
 모르겠다구 나오네요.. unknown host ...
 혹시 ipchanins 때문에 외부에서 버처 세팅한 도메인으로 접근을 못하는 것이
 아닌가 하고 의심이 됩니다.
 ns.도메인.co.kr 이 네임서버이고. (동일)도메인.com버처세팅은 잘됩니다.
 브라우저에서 도메인.co.kr (동일)도메인.com 모두 접속이 잘됩니다.
 문제는 httpd.conf에서 세팅한 다른 도메인들이 브라우저에서 찿지를 못하고있습니다.
 /etc/named.conf /var/named/*.zone 파일은 모두 이상이 없이 세팅했습니다.
 이유를 모르겠네요...
 com이 동작한다는 것은 네임 버처 호스팅이 동작하고있다는 뜻인데..
 어째서 다른도메인들은 ping도 안나오구 브라우저에서도 못찿을가요?
 아시는분은 제발 리플좀 달아주세요.. 부탁드립니다...
 서버는 레드햇7.2 서버입니다.. 따끈한 서버구요.
 전에 7.0에서 모두 잘돌아 가던 내용 그대로 세팅해도 주 도메인 외에는
 네임 버처 호스팅이 작동을 하지 않고있네요...
 도와주세요... ㅡ,ㅜ
 외부에서는 nslookup 하면 time out 나오네요. 내무는 잘나오는데...
 캐시때문인지... 답답하군요..
 다음은 윈도 외부에서 nslookup 해본 결과입니다.
 D:>nslookup 도메인.co.kr
Server: ns.dacom.co.kr
Address:164.124.101.2
 DNS request timed out.
    timeout was 2 seconds.
 DNS request timed out.
    timeout was 2 seconds.
 *** Request to ns.dacom.co.kr timed-out
 혹시나 해서 제 ipchains -L 정 보두 올려봅니다.
 [root@ns init.d]# ipchains -L
Chain input (policy ACCEPT):
target     prot opt     source                destination           ports
ACCEPT     udp  ------  xxx.xxx.xxx.xxx      anywhere              domain ->   1025:65535
ACCEPT     udp  ------  kns.kornet.net       anywhere              domain ->   1025:65535
ACCEPT     udp  ------  ns.도메인.co.kr      anywhere              domain ->   1025:65535
ACCEPT     tcp  -y----  anywhere             anywhere              any ->   7777
ACCEPT     tcp  -y----  anywhere             anywhere              any ->   smtp
ACCEPT     tcp  -y----  anywhere             anywhere              any ->   http
ACCEPT     tcp  -y----  anywhere             anywhere              any ->   ftp
ACCEPT     tcp  -y----  anywhere             anywhere              any ->   ssh
ACCEPT     tcp  -y----  anywhere             anywhere              any ->   telnet
ACCEPT     all  ------  anywhere             anywhere              n/a
REJECT     tcp  -y----  anywhere             anywhere              any ->   0:1023
REJECT     tcp  -y----  anywhere             anywhere              any ->   nfs
REJECT     udp  ------  anywhere             anywhere              any ->   0:1023
REJECT     udp  ------  anywhere             anywhere              any ->   nfs
REJECT     tcp  -y----  anywhere             anywhere              any ->   x11:6009
REJECT     tcp  -y----  anywhere             anywhere              any ->   xfs
Chain forward (policy ACCEPT):
Chain output (policy ACCEPT):
 /etc/srvices 를 보면 nameserver 가 42번 포트를 쓰고있는데요. 42번 포트를
열여 주어야 하나요?
  nameserver      42/tcp          name            # IEN 116
nameserver      42/udp          name            # IEN 116
 ipchains 에서 42번 포트를 열고 싶은데요. 방법좀 알려주세요..
 ipchains 문서는 읽어봐도 이해가 안되네요.
 --
anti cracking.. -.-;
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved