bind 설정문제...

ageldama의 이미지

안녕하세요^^;

bind을 설정해서 쓰는데 이상한 문제가 있어서 질문합니다.

일반 ISP의 dns서버를 통해서 nslookup하면 하위 도메인을 찾지 못합니다.

$ nslookup
> foo.rxp.co.kr
Server:         168.126.63.1
Address:        168.126.63.1#53
 
** server can't find foo.rxp.co.kr: SERVFAIL
> rxp.co.kr
Server:         168.126.63.1
Address:        168.126.63.1#53
 
Non-authoritative answer:
Name:   rxp.co.kr
Address: 220.95.231.96
>   

하지만 직접적으로 네임서버를 지정해서 쿼리하면 잘 뱉습니다;;;

$ nslookup - ns.rxp.co.kr
> foo.rxp.co.kr
Server:         ns.rxp.co.kr
Address:        220.95.231.96#53
 
foo.rxp.co.kr   canonical name = rxp.co.kr.
Name:   rxp.co.kr
Address: 220.95.231.96
> koo.rxp.co.kr
Server:         ns.rxp.co.kr
Address:        220.95.231.96#53
 
koo.rxp.co.kr   canonical name = rxp.co.kr.
Name:   rxp.co.kr
Address: 220.95.231.96
>                     

아... 다른 dns서버들이 하위 도메인을 찾기 위해서 ns.rxp.co.kr에 delegation이나 그런거 해줘야 하는거 아닌가요?;;;

elflord의 이미지

ISP에 DNS서버변경신청은 이미 하셨으리라 믿고요.

존파일을 변경한지 얼마안되신다면 minimum 기간이 지나질 않아서 수정하신 도메인 정보가 전파되지 않았을 가능성이 있습니다. 이경우 설정해 놓으신 존파일의 minimum기간이 지나면 점차적으로 해결되실 문제고, 혹시 존파일 수정하실때 serial정보를 수정하지 않으셨다면 보다 높은 수치로 변경하시는게 좋으실듯.

그럼 이만 총총...[竹]
http://elflord.egloos.com


===== ===== ===== ===== =====
그럼 이만 총총...[竹]
http://elflord.egloos.com

ageldama의 이미지

제가 dns에 대해 개념이 없어서 그런데
*.rxp.co.kr에 대해서 제 네임서버에 질의를 보내서 실시간으로 응답해주는건가요?
아니면 제 서버에서 제공하는 서브도메인들의 목록을 갖고 있다가 응답해주는건가요?
괜히 궁금하네요^^;

----
The future is here. It's just not widely distributed yet.
- William Gibson

elflord의 이미지

rxp.co.kr의 네임서버가 님의 서버로 공식적으로 등록되어 있다고 가정하고,

외부의 네임서버들에게 rxp.co.kr도메인관련 질의가 들어올 경우 자신의 캐쉬에 정보가 있는지를 먼저 확인합니다. 캐쉬를 확인해서 없거나 혹은 유효기간이 지났을 경우에는 님의 네임서버에 질의를 보내고 (이것도 다이렉트는 아니라 kr부터 DNS트리타고 찾아갑니다만) 유효기간내의 캐쉬가 존재할 때는 그냥 자신의 캐쉬정보를 그대로 질의자에게 날립니다.

유효기간은 님의 서버의 존파일을 보시면 SOA영역에서 5번째 수치(minimum)가 바로 그것인데 외부 서버가 님의 서버에서 도메인 정보를 받고나면 이 시간동안은 정보를 갱신하지 않고 계속 기존의 정보를 유지하기때문에 님의 네임서버가 DNS정보를 변경하더라도 외부네임서버들이 실시간으로 반영하지는 않습니다.

그럼 이만 총총...[竹]
http://elflord.egloos.com


===== ===== ===== ===== =====
그럼 이만 총총...[竹]
http://elflord.egloos.com

ageldama의 이미지

답변고맙습니다. :-)

----
The future is here. It's just not widely distributed yet.
- William Gibson

댓글 달기

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