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

자체 dns를 돌리려는데 잘 안되네요. zone, conf파일좀 봐주세요

작성자 정보

  • 김정우 작성
  • 작성일

컨텐츠 정보

본문

자체적으로 외부와 연결하지 않고 dns서버를 독립적으로 돌리려는데 잘 안됩니다 ㅡㅜ

nslookup 하면은

[root@aurm init.d]# nslookup
> aurm.net
Server:         192.168.1.189
Address:        192.168.1.189#53

** server can't find aurm.net: SERVFAIL

이렇게 나옵니다.  머가 잘못된건지.. 잘 모르겠네요.. ㅜㅜ 꼭좀 봐주세요.

/named.zone

$TTL 400
@ IN SOA ns.aurm.net. root.ns.aurm.net. (
 2004072700 ; Serial
 28800 ; Refresh
 14400 ; Retry
 3600000 ; Expire
 400 ) ; Minimum
IN NS ns.aurm.net.
IN A 192.168.1.189
IN MX 10 aurm.net.

;;

www IN CNAME @
mail IN CNAME @
* IN CNAME @

/named.rev

$TTL 400
@ IN SOA ns.aurm.net. root.ns.aurm.net. (
 2004072700 ; Serial
 28800 ; Refresh
 14400 ; Retry
 3600000 ; Expire
 400 ) ; Minimum
 
IN NS ns.aurm.net.
192 IN PTR 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; };
};

/* add part start */

zone "1.168.192.in-addr.arpa" IN {
 type master;
 file "named.rev";
 allow-update { none; };
};

zone "aurm.net" IN {
 type master;
 file "named.zone";
 allow-update { none; };
};

/* add part end */

include "/etc/rndc.key";

관련자료

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

공지사항


뉴스광장


  • 현재 회원수 :  60,037 명
  • 현재 강좌수 :  35,810 개
  • 현재 접속자 :  84 명