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

네임서버좀 봐주세요

작성자 정보

  • 이종탁 작성
  • 작성일

컨텐츠 정보

본문

안녕하십니까?

리눅스를 10번이나 깔아봐도 안되어서..이렇게 질문을 드립니다. 바쁘시겠지만 조금만 빨리 답변 해 주셨으면 고맙겠습니다.
리눅스 : WOW Paran 7.1

도메인 : ns.xxx.com
===========================================
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; };
};
// hosting group

zone "xxx.com" IN {
 type master;
 file "db.xxx";
};

key "key" {
 algorithm hmac-md5;
        secret "MdMaHkjUHDubTRJluvWzFU0GFqqeGjushImKfrijkkYGIwyJfLtOcpAQbwmm";
};

===========================================
db.xxx
===========================================
$TTL 86400
@ IN SOA xxx.com. root.xxx.com. (
  2001103101 ; serial
  10800 ; refresh
  3600 ; retry
  432000 ; expire
  86400 ; minimum
  )

; xxx.com DNS SERVICE FILE

; NAME SERVER
@  IN NS ns.xxx.com.
  IN A 서버아이피

; Mail Exchange
ns IN MX 10 ns.xxx.com.
www IN MX 10 ns.xxx.com.

; Name Service
ns IN  A 서버아이피
www IN A 서버아이피
www IN CNAME @ 
 
==========================================
hosts.conf
==========================================
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1  xxx.com. www.xxx.com. ns
61.85.87.144  ns.xxx.com


==========================================
httpd.conf
==========================================
중략.......

 ServerName www.xxx.com
 ServerAlias ns.xxx.com
 ServerAlias xxx.com
 DocumentRoot /var/www/html
 CustomLog /var/log/httpd/xxx-access_log common
 ErrorLog /var/log/httpd/xxx-error_log

 

이상입니다. 다른건 특별히 손 안댔습니다.
바쁘시겠지만 답변좀 부탁드립니다.
꾸벅 ^.&


 

관련자료

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

공지사항


뉴스광장


  • 현재 회원수 :  60,133 명
  • 현재 강좌수 :  36,172 개
  • 현재 접속자 :  306 명