>> Delete No. 42874 article
No. pls!! help!!dns-setting

등록 2002-02-20 05:13:00 By localhost     조회 2
이름 join    

		컴퓨터 2대로 네임서버 공부를 하고있는 사람입니다.
 각각 리눅스서버(네임서버)- 192.168.1.1
     win98  (클라이언트)- 192.168.1.2
아래와 같이 셋팅을 하였는데
 
win98에서 ping www.xxx.com 치면
알 수 없는 호스라고 옵니다.
 pls !!! 문제점 지적좀 해주세요..
-----------------------------------------------------------------
/etc/resolv.conf
---------------------------------------------------------------
search ns.xxx.com xxx.com
nameserver 210.220.163.82
nameserver 210.94.0.7
-----------------------------------------------------------------------
etc/hosts
----------------------------------------------------------------------
127.0.0.1       localhost       localhost.localdomain   localhost
192.168.1.1     pinetree        pinetree.xxx.com
 -------------------------------------------------------------------------
  /etc/named.conf의 설정입니다
 -------------------------------------------------------------------------
// generated by named-bootconf.pl
 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
//
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 "1.168.192.in-addr.arpa" IN {
        type master;
        file "zone-1.168.192.in-addr.arpa";
        allow-update { none; };
};
zone "xxx.com.in-addr.arpa" IN {
        type master;
        file "zone-xxx.com";
        allow-update { none; };
};
 key "key" {
        algorithm hmac-md5;
        secret "hjwpvROjzUunnWofovDSowDqZDzttLMubBiDPFHbxqrtBSkMYiPHs0Onqjbd";
};
-----------------------------------------------------------------------------
zone-xxx.com 의 설정입니다.
--------------------------------------------------------------------------------
 @              IN  SOA  ns.xxx.com. hostmaster.xxx.com. (
                          2001021701  ;Serial
                          21600       ;Refresh ( 6 hours)
                          1800        ;Retry   (30 minutes)
                          1209600     ;Expire  (14 days)
                          86400)      ;Minimum ( 1 day)
               IN  NS   ns.xxx.com
               IN  MX 10  mail
  ; Host addresses
    ns.pinetree IN A    192.168.1.1
    router     IN  A    192.168.1.1
    ns         IN  A    192.168.1.1
    mail       IN  A    192.168.1.1
    pinetree   IN  A    192.168.1.1
    ftp        IN  A    192.168.1.2
; Aliases
    www        IN  CNAME  pinetree
 -----------------------------------------------------------------------------
zone-1.168.192.in-addr.arpa 의
-----------------------------------------------------------------------------
@ IN SOA ns.xxx.com.com. hostmaster.xxx.com. (
2001021701 ;Serial
21600 ;Refresh ( 6 hours)
1800 ;Retry (30 minutes)
1209600 ;Expire (14 days)
86400) ;Minimum ( 1 day)
IN NS ns.xxx.com
IN MX 10 mail.   
 
                    IN      NS      ns.xxx.com.
    ; IP-Domain mapping here
    1               IN      PTR     router.xxx.com.
    1               IN      PTR     ns.xxx.com.
    1               IN      PTR     ns.pinetree.xxx.com.
    1               IN      PTR     pinetree.xxx.com.
    2               IN      PTR     ftp.xxx.com.--이 곳에 서명을 적어주십시오.
...
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

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