도메인 추가시 네임서버 설정에 관해서

storm7707의 이미지

먼저 래드햇 7.3이구여 제가 설치한 서버가 아니라 잘 모르겠습니다.

버전이나 보던거 아님 잘 모르는 허접실력이라서....^^;;

[root@aaa var]# vi /etc/named.conf

category unmatched { null; };
category network { null; };
};

//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};

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

zone "105.78.61.in-addr.arpa" IN {
type master;
file "zone-rev";
};

include "/etc/rndc.key";

// default ns
zone "aaa.co.kr" IN { type master; file "zone-ns"; };

zone "bbb.com" IN { type master; file "zone-bbb"; };

zone "ccc.co.kr" IN { type master; file "zone-ccc"; };

named.conf 는 이렇게 설정이 되어있습니다.

이번에 ccc.co.kr 도메인을 추가하려는데요.

위처럼 named.conf에 추가했구요

해당 zone-ccc 파일입니다.

$TTL 86400
@ IN SOA ns.aaa.co.kr. root.aaa.co.kr. (
2003051210 : serial (d. adams)
3H : refresh
15M : retry
1W : expiry
1D ) : minimum

IN NS ns.aaa.co.kr.
IN A 61.78.105.XXX
IN MX 10 mail

ccc.co.kr. IN A 61.78.105.XXX
www IN A 61.78.105.XXX

zone-rev 파일입니다

$TTL 86400
@ IN SOA ns.aaa.co.kr. root.aaa.co.kr. (
2003051210 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
; Name Server
;
IN NS ns.aaa.co.kr.
IN MX 10 mail.aaa.co.kr.
;
; in.addr-arpa
;
143 IN PTR ns.aaa.co.kr.
143 IN PTR ftp.aaa.co.kr.
143 IN PTR db.aaa.co.kr.
143 IN PTR mail.aaa.co.kr.
143 IN PTR smtp.aaa.co.kr.
143 IN PTR ssh.aaa.co.kr.
143 IN PTR www.aaa.co.kr.

143 IN PTR bbb.com.
143 IN PTR mail.bbb.com.
143 IN PTR root.bbb.com.
143 IN PTR ccc.co.kr.

이상입니다.

이렇게 까지 하구서 ccc.co.kr 도메인 정보에 네임서버를 ns.aaa.co.kr과 해당아이피를 입력했는데도

nslookup 해보면

[root@aaa named]# nslookup ccc.co.kr
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server: 61.78.105.XXX
Address: 61.78.105.XXX#53

이렇게 나오네요..물론 핑두 안나가구요...

bbb.com 추가한것처럼 똑같이 하구선 네임서버두 재시작했구여

고수님들의 답변 부탁드립니다

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.