dns 오류 입니다...미치겠습니다...

voyage21의 이미지

[root@ns2 bak]# tail /var/log/messages

ns2 named[2227] listening on IPv4 interface lo, 127.0.0.1#53

ns2 named[2227] listening on IPv4 interface eth0, 2xx.1xx.1xx.xx#53
ns2 named[2227] command channel listening on 127.0.0.1#953

ns2 named[2227] zone 0.0.127.in-addr.arpa/IN loaded serial 20031006

ns2 named[2227] dns_master_load named.rev2 no current owner name
ns2 named[2227] zone 1xx.1xx.2xx.in-addr.arpa/IN loading master file named.rev no owner

ns2 named[2227] dns_rdata_fromtext abcd.com.zone2 near eol unexpected end of input
ns2 named[2227] zone abcd.com/IN loading master file abcd.com.zone unexpected end of input

ns2 named[2227] zone localhost/IN loaded serial 42

ns2 named[2227] running
*****************************************************
시작은 잘되고 있고 다른 도메인에 대해서 dig 명령어 잘 먹는것 같습니다.
하지만 abcd라는 회사도메인에 대해서는 문제가 있습니다.
아마도 named.rev abcd.zone 파일 등등에 오류가 있는것 같습니다.
아래는 zone 파일의 예제입니다.
*****************************************************
$TTL 86400
@ IN SOA ns.abcd.com. root.abcd.com.
(
20031006 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ; Minimum
)
IN NS ns.abcd.com.
IN A 2xx.1xx.1xx.xx
;
IN MX 0 mail.abcd.com.
;
localhost IN A 127.0.0.1
www IN A 2xx.1xx.1xx.xx
*****************************************************
어떤것이 문제이기에 내부 도메인에 대한 쿼리가 안되는것일까요?
에러메세지를 수정하는 방법을 좀 알려주세요...

호호호의 이미지

voyage21 wrote:
[root@ns2 bak]# tail /var/log/messages

ns2 named[2227]: listening on IPv4 interface lo, 127.0.0.1#53

ns2 named[2227]: listening on IPv4 interface eth0, 2xx.1xx.1xx.xx#53
ns2 named[2227]: command channel listening on 127.0.0.1#953

ns2 named[2227]: zone 0.0.127.in-addr.arpa/IN: loaded serial 20031006

ns2 named[2227]: dns_master_load: named.rev:2: no current owner name
ns2 named[2227]: zone 1xx.1xx.2xx.in-addr.arpa/IN: loading master file named.rev: no owner

ns2 named[2227]: dns_rdata_fromtext: abcd.com.zone:2: near eol: unexpected end of input
ns2 named[2227]: zone abcd.com/IN: loading master file abcd.com.zone: unexpected end of input

ns2 named[2227]: zone localhost/IN: loaded serial 42

ns2 named[2227]: running
*****************************************************
시작은 잘되고 있고 다른 도메인에 대해서 dig 명령어 잘 먹는것 같습니다.
하지만 abcd라는 회사도메인에 대해서는 문제가 있습니다.
아마도 named.rev abcd.zone 파일 등등에 오류가 있는것 같습니다.
아래는 zone 파일의 예제입니다.
*****************************************************
$TTL 86400
@ IN SOA ns.abcd.com. root.abcd.com.
(
20031006 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ; Minimum
)
IN NS ns.abcd.com.
IN A 2xx.1xx.1xx.xx
;
IN MX 0 mail.abcd.com.
;
localhost IN A 127.0.0.1
www IN A 2xx.1xx.1xx.xx
*****************************************************
어떤것이 문제이기에 내부 도메인에 대한 쿼리가 안되는것일까요?
에러메세지를 수정하는 방법을 좀 알려주세요...

SOA Record를 작성하실때 "("를 다음 줄에 적어 주셔서 에러가 발생하는것
같습니다.

같은 줄에 적어주시면 될듯 합니다.

Quote:

$TTL 86400
@ IN SOA ns.abcd.com. root.abcd.com. (
20031006 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum

댓글 달기

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