레드헷9.0에서 네임서버 설치시 문제 발생.

logcabin의 이미지

/// 네임서버를 설치하고 제대로 되었는지 질의를 하는데 문제가 발생합니다.
/// restart시 문제가 발생했고요....
/// 자세한 내용은 아래에 있습니다.

1.초기정보
IP address:203.242.131.177
domain name : logcabin.pe.kr
server host name : ns.logcabin.pe.kr

2.각 파일의 추가내용
[/etc/named.conf 의 추가내용]
zone "logcabin.pe.kr" IN {
type master;
file "logcabin.forward";
};

zone "131.242.203.in-addr.arpa" IN {
type master;
file "logcabin.reverse";
};

[/var/named/logcabin.forward의 내용]
$TTL 86400
$ORIGIN logcabin.pe.kr.
@ 1D IN SOA @ root (
20030910 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

1D IN NS ns.logcabin.pe.kr.
1D IN A 203.242.131.177

[/var/named/logcabin.reverse 의 내용]
$TTL 86400
@ IN SOA ns.logcabin.pe.kr. root.ns.logcabin.pe.kr. (
20030910 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.logcabin.pe.kr.

220 IN PTR logcabin.pe.kr.

3.named restart의 문제점
Stopping named: rndc: connect failed: connection refused
[FAILED]
[root@ns root]# [ OK ]
rndc의 문제점이 있는 지 restart를 하면 위와같이 나옵니다.

4.logcabin.pe.kr 에 대한 질의를 하면 제대로된 값을 보여주지 않네요.
[root@ns root]# host logcabin.pe.kr
Host logcabin.pe.kr not found: 2(SERVFAIL)
[root@ns root]# host 203.242.131.177
Host 177.131.242.203.in-addr.arpa not found: 3(NXDOMAIN)

이게 레드헷9.0에서 새로 삽입된 rndc.key 때문인지 제가 설정파일들을 잘못 만들었는지 잘 모르겠습니다.
누구 아시는 분 답변부탁드립니다.

kukuman의 이미지

Quote:
Stopping named: rndc: connect failed: connection refused
[FAILED]
[root@ns root]# [ OK ]
rndc의 문제점이 있는 지 restart를 하면 위와같이 나옵니다.

자세한 설정은 기억이 나지 않는데,,,
(회사가 아니라 서버에 접근이 안되네요 :? )

named.conf에서 rndc key에 대해서 설정하는 부분이 있습니다...
파일에 설정을 넣어서 그 파일을 지정하던지 아니면 그냥 named.conf에
키값을 그냥 넣어주던지... 하셔야 합니다...

다른 부분들은 문제가 없는 것 같구요...
(있었다면, 로그에 찍혔어야 합니다...)

rndc key값 쪽을 다시 살펴보세요~

Be at a right place at a right time...

logcabin의 이미지

named.conf 안에는
include "/etc/rndc.key";
라고 rndc.key 가 정의되어 있고요..

rndc.key 는
key "rndckey" {
algorithm hmac-md5;
secret "Oop49Scq0HzgEQSqi0DKMFXOHimBnjm5uJWDlmb2N2tAtJFgSZxkNQbZJls4";
};
라고 되어 있습니다.
이렇게 되어있으면 되는 것아닌가요?
그래도 안되는군요 ㅠ..ㅠ

레드헷리눅스9.0을 즐기고싶다...

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.