>> Read No. 42456 article  
<질문> DNS 에 관하여 입니다 ^^;

등록 2002-02-15 10:58:00     조회 2
이름 김쵸뵤    

whois.co.kr
1차 네임서버 정보
호스트이름 : ns1.aaa.co.kr
IP 주소 : 203.240.1.145
  도메인 aaa.co.kr
아이피 203.240.1.145
 임이의 도메인과 임이의 아이피를 적습니다 ^^;;
 dns 가 잘 되지 않아 고수님의 도움을 청합니다..
  도메인으로 ping을 하면... 저의 서버 주소로 입력이 됩니다.
[root@linuxlove named]# ping aaa.co.kr
PING aaa.co.kr (203.240.1.145) from 203.240.1.145 : 56(84) bytes of data.
64 bytes from ns1.aaa.co.kr (203.240.1.145): icmp_seq=0 ttl=255 time=52 usec
64 bytes from ns1.aaa.co.kr (203.240.1.145): icmp_seq=1 ttl=255 time=45 usec
64 bytes from ns1.aaa.co.kr (203.240.1.145): icmp_seq=2 ttl=255 time=48 usec
64 bytes from ns1.aaa.co.kr (203.240.1.145): icmp_seq=3 ttl=255 time=53 usec
64 bytes from ns1.aaa.co.kr (203.240.1.145): icmp_seq=4 ttl=255 time=54 usec
 그런데 nslookup 하믄
 [root@linuxlove named]# nslookup aaa.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:        203.240.1.145
Address:       203.240.1.145#53
 ** server can't find clickname.co.kr.: SERVFAIL
  이렇게 나옵니다..~~
     vi /etc/resolv.conf
 	search aaa.co.kr
	nameserver 203.240.1.145
  vi /etc/named.conf
 	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 "aaa.co.kr" IN {
        	type master;
	        file "aaa.zone";
	};
  	zone "1.240.203.in-addr.arpa" IN {
	        type master;
        	file "aaa.rev";
	};
  	##########################################
 	include "/etc/rndc.key";
  vi /var/named/aaa.rev
 		$TTL    86400
	@       IN      SOA     ns1.aaa.co.kr. root.localhost.  (
        	                              1997022700 ; Serial
                	                      28800      ; Refresh
                        	              14400      ; Retry
                                	      3600000    ; Expire
	                                      86400 )    ; Minimum
        	    IN      NS      ns1.aaa.co.kr.
	145         IN      PTR     ns1.aaa.co.kr.
	145         IN      PTR     www.aaa.co.kr. 	145         IN      PTR     ftp.aaa.co.kr.
	145         IN      PTR     mail.aaa.co.kr.
    vi /var/named/aaa.zone
 	$TTL    86400
	$ORIGIN localhost.
	@       IN SOA  ns1.aaa.co.kr. root.localhost.(
	                        42              ; serial (d. adams)
	                        3H              ; refresh
	                        15M             ; retry
	                        1W              ; expiry
	                        1D )            ; minimum
 	        IN NS           ns1.clickname.co.kr.
	        IN A            203.247.240.145
	ns1     IN A            203.247.240.145
	www     IN A            203.247.240.145
	ftp     IN A            203.247.240.145
 	        IN MX 10        mail.aaa.co.kr.
	mail    IN A            203.247.240.145
  이구요~~~
   vi /home/apache/conf/httpd.conf
 	ServerName aaa.co.kr
	NameVirtualHost 203.247.240.145
   	<VirtualHost 203.247.240.145>
	    ServerAdmin webmaster at dummy-host.example.com 	    DocumentRoot /home/aaa/public_html
	    ServerName www.aaa.co.kr 	</VirtualHost>
 입니다.
    vi /var/named/localhost.zone
 	$TTL    86400
	$ORIGIN localhost.
	@                       1D IN SOA       @ root (
	                                        42              ; serial (d. adams)
        	                                3H              ; refresh
                	                        15M             ; retry
                        	                1W              ; expiry
                                	        1D )            ; minimum
 	                        1D IN NS        @
        	                1D IN A         127.0.0.1
   vi /var/named/named.local
 	$TTL    86400
	@       IN      SOA     localhost. root.localhost.  (
	                                      1997022700 ; Serial
        	                              28800      ; Refresh
                		              14400      ; Retry
                                	      3600000    ; Expire
	                                      86400 )    ; Minimum
        	      IN      NS      localhost.
 		1     IN      PTR     localhost.
    ~~~~
 좋은 답변 주시길 바라며
 늘 건강하세요
이름
암호


>> 관련글
42456 <질문> DNS 에 관하여 입니다 ^^;  김쵸뵤  2002.02.15  ....
  답장 RE: <질문> DNS 에 관하여 입니다 ^^;  권혁  2002.02.15  ....
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 3.50 초 ] 작업시간: [ 3.16 초 ]

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

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1792196802
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.