질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

DNS설치 에러좀 봐주세요

작성자 정보

  • 이태웅 작성
  • 작성일

컨텐츠 정보

본문

내부에서는 ping이 제대로 도는데...외부에서 확인을 해보면 ns.ooo.co.kr 만 제대로 돌고

나머지는 www.ooo.co.kr등 다른것은 호스트를 찾을수 없다고 나오네요...

그리고 nslookup을 해도 마찬가지구요...뭐가 문제가 있는지 확인좀 부탁드립니다..

그리고 웹브라우져로 ns.ooo.co.kr하면 접속이 되는데 www.ooo.co.kr과 ooo.co.kr로 접속하면 접속이 안돼네요

 

-----------------
hosts화일
---------------
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               ns localhost.localdomain localhost

---------------------------

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
//
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 "ooo.co.kr" IN {
        type master;
        file "ooo.co.kr.zone";
        allow-update { none; };
};
zone "000.000.000.in-addr.arpa" IN {
        type master;
        file "ooo.co.kr.rev";
        allow-update { none; };
};
include "/etc/rndc.key";
 

----------------------
resolv.conf화일
--------------------------------------
search localhost ooo.co.kr www.ooo.co.kr
nameserver 000.000.000.10
nameserver 111.111.111.111

----------------------
ooo.co.kr.zone 화일
-----------------------
$TTL 86400
@       IN      SOA     ns.ooo.co.kr. root.ooo.co.kr. (
                        2005052800      ;
                        3H              ;
                        15M             ;
                        1W              ;
                        1D )            ;

        IN      NS      ns.ooo.co.kr.
        IN      MX      10 mail.ooo.co.kr.
        IN      A       000.000.000.10
www     IN      A       000.000.000.10
mail    IN      A       000.000.000.10
*       IN      A       000.000.000.10

000.co.kr.rev 화일
-----------------------

$TTL 86400
@       IN      SOA     ns.ooo.co.kr. root.ooo.co.kr. (
                        2004062300      ;
                        3H              ;
                        15M             ;
                        1W              ;
                        1D )            ;
        IN      NS      ns.ooo.co.kr.
10       IN      PTR     ooo.co.kr.
10     IN      PTR     www.ooo.co.kr.
10    IN      PTR     mail.ooo.co.kr.
10    IN      PTR     ns.ooo.co.kr.

 

 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,138 명
  • 현재 강좌수 :  36,196 개
  • 현재 접속자 :  675 명