DNS Server를 Master/ Slave가 아니라 Master/ Master 로 구성할 경우 주의할 점??

publy.l의 이미지

안녕하세요.
DNS Server를 Master/ Slave가 아니라 Master/ Master 로 구성할 경우 주의할 점이 있을까요?

두 Master DNS Server 가 PC에 주/ 보조로 설정되어 있을 경우,
주 서버로 설정된 Master DNS Server가 Down될 경우 주소 변환이 안되어 네트워크가 안되어 버리더라구요.
Master DNS Server와 Slave DNS Server는 SOA상 Expired Time이 있어서 이 부분동안 서비스 유지를 시켜준다고 알고 있는데
Master, Master로 구성된 경우 이런 관계가 성립안될 것 같습니다.

Master, Master DNS Server가 구성된 이유는 Active Directory Server 이중화에 따라 설정된 부분입니다.

도움 부탁드립니다.

김정균의 이미지

DNS의 Master/Slave 의 개념은 설정 동기화에 관한 개념입니다. 서비스 측면에서는 DNS는 Master/slave든 1차 2차든 모두 master와 동일합니다.

그리고 clinet 입장에서는 조금 다릅니다. client 입장에서는 1차, 2차 개념이 있는데, 1차가 응답이 없을 경우 2차에서 찾게 되며, 1차에서 connection timeout이 지연될 경우에는 2차로 넘어가는 시간도 그만큼 오래 걸립니다.

익명 사용자의 이미지

Connection Timeout 설정을 줄일 수 있을까요?

김정균의 이미지

생각하시는 바는 아마도 힘이 들 겁니다.

일단, client의 1차 DNS 서버가 어찌 되었든 application level에서 응답을 한다면 아마 windows는 2차 DNS를 선택하지 않을 겁니다. (이건 정확하게 테스트를 안해봐서.. 그냥 경험치로 말씀 드리는 것입니다.)

원하시는 바를 하려면, 1차 2차 네임서버를 직접 설정 하지 마시고, caching name server를 만드셔서 caching name server가 질의를 하도록 하시는 것이 더 좋을 듯 싶습니다.

하지만, 문제는 DNS가 죽는다는 것이 더 문제일 듯 싶네요. 왠만해서 공격이 아니라면 DNS가 resource가 모자를 일은 거의 없는데 말이죠.

김정균의 이미지

아 깜빡 해한 것이 있는데, man resolv.conf 해 보시면

options timeout:5 attempts:1

와 같이 지정할 수 있습니다. 될지는 저도 확인은 안해봐서.. 한번 해 보세요. man page상으로는 timeout은 기본 30초이고, attemps는 기본 2번 입니다.

댓글 달기

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