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

dns nslookup 하면 오류가 ..

작성자 정보

  • Crul 작성
  • 작성일

컨텐츠 정보

본문

[root@ns root]# cat /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 화일 수정

[root@ns named]# vi /var/named/domain.com.zone

 


[root@ns named]# vi /var/named/domain..com..rev

 


@ IN SOA ns.domain.com. root.ns.domain.com. (
2002062500 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.domain.com.

2 IN PTR ns


3 IN PTR www


4 IN PTR ftp

 

 

// 네임서버 재 시동

/etc/rc.d/init.d/named restart

 

이런후에 nslookup 하고

 

>domain.com

Server:    192.168.0.2

Address 192.168.0.2

** server can't find net12.skills.com: SERVFAIL

 

이라고 나오네요 ... 아파치 웹 알깔아도 dns 는 되는거 아닌가요?

관련자료

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

공지사항


뉴스광장


  • 현재 회원수 :  60,134 명
  • 현재 강좌수 :  36,188 개
  • 현재 접속자 :  248 명