네임서버 세팅에 궁금증이 있습니다

jin0513의 이미지

특정 네임서버를 알게 되었는데 작동이 좀 독특합니다
원리를 알고 싶어 글 남깁니다

도메인은 문제가 될 수 있으니 예를 들어 설명 드려 볼께요

그 두개의 네임서버 도메인이 111.ns.com, 222.ns.com 이라고 치고,
두 네임서버(111.ns.com 및 222.ns.com)의 아이피가 123.123.123.123
라고 쳤을때를 기준으로 써보겠습니다

nslookup 한뒤...

> server 111.ns.com
> set type=any
> naver.com 해보면...

서버: 111.ns.com
Address: 123.123.123.123

naver.com internet address = 123.123.123.123
(root) nameserver = 111.ns.com
(root) nameserver = 222.ns.com
111.ns.com internet address = 123.123.123.123
222.ns.com internet address = 123.123.123.123

라고 뜹니다 ㅡ.ㅡ;

> daum.net 해봐도...

서버: 111.ns.com
Address: 123.123.123.123

daum.net internet address = 123.123.123.123
(root) nameserver = 111.ns.com
(root) nameserver = 222.ns.com
111.ns.com internet address = 123.123.123.123
222.ns.com internet address = 123.123.123.123

네이버와 동일한 결과로 떨어집니다
즉 어떤 도메인을 넣든... 모두 자기꺼라고 노출 됩니다

이건 어떻게 세팅 한걸까요?
정상적인 형태는 아닌데 원리가 궁금합니다

위 정보로는 판단하기 힘들다 하시면...
추가로 어떻게 하면 된다고 알려주세요
그대로 해보고 내용 변경 하도록 하겠습니다

아시는분 계시면 답변이나 힌트라도 부탁드립니다 ^^;
점심 맛있게 드세요

익명 사용자의 이미지

해킹을 위한 Fake DNS같습니다.

일반적인 DNS 소프트웨어(BIND) 로는 당연히 안될것 같구요 직접 개발한게 아닐까 하네요.

익명 사용자의 이미지

아 참고로 bind로 무조건 불가능한건 아니구요...
fake하기 위한 대상 domain을 등록하면 가능하긴 합니다.
또는 dnsmasq를 이용하기도 하구요.. 근데 임의의 무작위 domain에 대해서 모두 저렇게 나온다면
그 모든 domain을 bind에 등록하는건 불가능하기 때문에 안된다고 한겁니다.

jin0513의 이미지

관심있는 댓글 감사합니다 ^^

일반적인 bind 에서는 무작위 도메인에 대한 처리가 안된다는거군요
원리가 궁금했는데... ㅜ.ㅜ;;;

댓글 달기

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