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

네임서버설정입니다. 확인좀 해주세요ㅠ.ㅠ

작성자 정보

  • 낮해밤달 작성
  • 작성일

컨텐츠 정보

본문

안녕하세요?^^

밑에 존 파일의 "wsha.org.  IN      A  ns.wsha.org." 이 부분은 없어야 될 부분인 것 같네요,,

현 상태에서 named restart 하신 다음에 /var/log/messages 를 한번 보세요, 아마 제가 지적한 부분에서 에러 로그가 보일 것 같습니다.

그럼 꼭 성공 하시길 바랍니다.

수고하세요..

laspin 님의 글



wowlinux 7.3R paran

bind 9.XX구요

route로 확인하면 Gateway도 210.31.13.1(임의로 바꾼겁니다.실제IP는 다른것이구요)로 잘 잡혀 있습니다.

named도 떠 있고요..

그런데 nslookup해서 보면

can't find wsha.org : SERVFAIL

ping도 네임서버 설치후엔 gw까지만 되고 외부로는 나가지 않습니다.(gw문제는 아닌것 같습니다. 전에 win2000에서 210.31.13.1로 계속 써왔거든요)

아래에 설정파일이 있으니 검토좀 해주세요 ㅠ.ㅠ 몇날 며칠을...흑흑

resolv.conf------------------------------------------------------------

nameserver 210.31.13.77

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.root";
};

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 "13.31.210.in-addr.arpa" IN {
 type master;
 file "zone-13.31.210";
};

zone "wsha.org" IN {
 type master;
 file "zone-wsha.org";
};


include "/etc/rndc.key";

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

zone-13.931.210-------------------------------------------------------------------------------

$TTL 86400
@       IN      SOA     ns.wsha.org. root.wsha.org.  (
                                      2004022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
           ;NameServer
              IN      NS      ns.wsha.org.
          77   IN      PTR  wsha.org.

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

 

zone-wsha.org---------------------------------------------------------------------------------------

$TTL 86400
wsha.org.       IN      SOA     ns.wsha.org. root.wsha.org.  (
                                      2004022701 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
           ;NameServer
              IN      NS      ns.wsha.org.
           ;Information_to_nslookup
              IN      HINFO "Pentium4" "wowLinux 7.3"
           ;Mial Exchange
              IN      MX 0 mail.wsha.org
           ;Host Address
 wsha.org.  IN      A  ns.wsha.org.
 NS   IN      A  210.31.13.77     
 www  IN  A  210.31.13.77
 ftp  IN  A  210.31.13.77
 mail  IN  CNAME  @

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




 

관련자료

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

공지사항


뉴스광장


  • 현재 회원수 :  60,335 명
  • 현재 강좌수 :  37,010 개
  • 현재 접속자 :  431 명