bind에 대한 질문입니다. 도움 부탁드립니다.

seongwon1의 이미지

안녕하세요? KLDP 고수 여러분..^^;

젠투리눅스에 APM을 설치해서 사용하다 DNS 서버에도 욕심을 내서

bind를 설치했는데요, 몇가지 문제가 발생합니다.

일단 젠투리눅스와 2.6.8.1 커널을 설치했구요. 바인드9도 설치를 했구요.

인터넷 공유기를 이용해서 사설망 192.168.0.4에 리눅스 서버를 설치했습니다.

하지만 공유기에서 DMZ 설정으로 인해 외부에서 제 공용 ip로 들어오는 모든 신호는 이 서버로 가게 해놨구요.

먼저 첫번째 질문은요..

bind가 정상적으로 실행이 되지 않습니다.

./named start 를 실행할 경우

 * Starting named...
named: capset failed: Operation not permitted                             [ !! ]
라며 에러가 발생을 합니다.

그래서 "# modprobe capability"라고 입력한 후 다시 bind를 실행시키면

정상적으로 bind가 기동됩니다. 이건 젠투 홈페이지에서 찾은 해결책인데

근본적인 해결책이 아닌 것 같거든요. 문제가 뭐고 해결책은 뭔지 가르쳐 주세요.

두번째 문제는요. 바인드를 기동시켜도 바인드가 제대로 작동하지 않는 것 같아서요. ㅠㅠ

설정 파일은요.

named.conf의 경우

options {
        directory "/var/bind";

        // uncomment the following lines to turn on DNS forwarding,
        // and change the forwarding ip address(es) :
        //forward first;
        //forwarders {
        //      123.123.123.123;
        //      123.123.123.123;
        //};

        listen-on-v6 { none; };
        listen-on { 127.0.0.1; };

        // to allow only specific hosts to use the DNS server:
        //allow-query {
        //      127.0.0.1;
        //};

        // if you have problems and are behind a firewall:
        //query-source address * port 53;
        pid-file "/var/run/named/named.pid";
};
zone "." IN {
        type hint;
        file "named.ca";
};

zone "localhost" IN {
        type master;
        file "pri/localhost.zone";
        allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "pri/127.zone";
        allow-update { none; };
};

zone "wowlinux.pe.kr" IN {
        type master;
        file "pri/named.zone";
        allow-update { none; };

};
zone "144.49.211.in-addr.arpa" IN {
        type master;
        file "pri/named.rev";
        allow-update { none; };
};

와 같구요...

프라이머리 설정은
named.zone으로

$TTL 86400
@           IN      SOA     ns1.wowlinux.pe.kr.     root.wowlinux.pe.kr. (
                                  2004090100              ;Serial
                                  10800                   ;Refresh
                                  3600                    ;Retry
                                  3600000                 ;Expire
                                  86400 )                 ;Minimum
              IN      NS      ns1.wowlinux.pe.kr.

              IN      A       211.49.144.ㅁㅁㅁ
              IN      HINFO   "AMD Athlon Thunderbird" "Gentoo Linux"

ns1        IN       A       211.49.144.ㅁㅁㅁ
www     IN       A       211.49.144.ㅁㅁㅁ
server   IN       A       211.49.144.ㅁㅁㅁ
*           IN       A       211.49.144.ㅁㅁㅁ

처럼 설정을 했습니다.

그런데 이 넘이 이상한 것이

윈도XP에서 "nslookup"이나 "ping"을 실행시키면 제대로 호스트를 찾지를 못합니다.

반면에 리눅스에서 "nslookup"이나 "ping"을 실행시키면 "ns1.wowlinux.pe.kr"이라는 도메인에 대해 제대로 된 정보를 리턴한다는 것입니다.(nslookup은 제 서버가 꺼져 있어도 나오더군요. -_-;)

사진에서 보시다 시피요.

그런데 bind에서 www.wowlinux.pe.kr을 ns1.wowlinux.pe.kr의 별명으로 설정을 했음에도 핑이 나가지를 않는 답니다. 반면 server.wowlinux.pe.kr은 핑이 잘 나가구요.

또 한가지 특이한 것은 윈도우에서 ns1.wowlinux.pe.kr:8888로는 웹에 잘 접속이 되는 반면 server.wowlinux.pe.kr:8888이나 www.wowlinux.pe.kr:8888로는 접속이 안된다는 것이죠.

도대체 제 짧은 실력으로는 뭐가 문제인지 도대체 모르겠네요. ㅠㅠ

여러 고수님들의 도움 부탁드립니다. 그리고 특히

혹 젠투리눅스에서 DNS 서버 잘 구축하신 분 계시면 도움 부탁드립니다.

File attachments: 
첨부파일 크기
Image icon 4.jpg112.58 KB

댓글 달기

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