[±è¼º¹Î]´ÔÀÌ ³²±â½Å ±Û:
>¾È³çÇϼ¼¿ä.
>¼³¸íÁß À߸øµÈ ºÎºÐÀÌ ÀÖ¾ú³×¿ä.
>Àúµµ Çò°¥·Á¼ ¾Æ·¡¿Í °°ÀÌ À籸¼º Çغ¸¾Ò½À´Ï´Ù.
>
>===============================================
>Å×½ºÆ® µµ¸ÞÀÎ(1) : abc.co.kr
>
>µî·Ï±â°ü¿¡ ns È£½ºÆ® µî·Ï ns.abc.co.kr -> (192.168.1.1)
>
>abc.co.kr ÀÇ µµ¸ÞÀεî·Ï±â°ü ³×ÀÓ¼¹ö Á¤º¸´Â,
>1Â÷ ns.abc.co.kr -> (192.168.1.1)
>
>ns.abc.co.kr (192.168.1.1) ¼¹ö¿¡¼´Â abc.co.kr ÀÇ zone À» »ý¼ºÇÏÁö ¾Ê°í, µðÆúÆ®
»óÅ·θ¸ µÎ¾ú½À´Ï´Ù.
>===============================================
>Å×½ºÆ® µµ¸ÞÀÎ(2) : linux.com
>
>linux.com ÀÇ µµ¸ÞÀεî·Ï±â°ü ³×ÀÓ¼¹ö Á¤º¸´Â,
>1Â÷ ns.abc.co.kr -> (192.168.1.1)
>===============================================
>
>## ns.abc.co.kr(192.168.1.1)
>/etc/named.conf
>
>options {
> directory "/var/named";
> dump-file "/var/named/data/cache_dump.db";
> statistics-file "/var/named/data/named_stats.txt";
> /*
> * If there is a firewall between you and nameservers you want
> * to talk to, you might need to uncomment the query-source
> * directive below. Previous versions of BIND always asked
> * questions using port 53, but BIND 8.1 uses an unprivileged
> * port by default.
> */
> // query-source address * port 53;
> forward only ; <---------------------- Ãß°¡
> forwarders { 192.168.1.100; }; <----Ãß°¡
>};
>
>¾Æ·¡´Â µðÆúÆ® ¼³Á¤¸¸ Á¸ÀçÇÔ.
>
>192.168.1.100 ¼¹ö¿¡´Â ½ÇÁ¦·Î linux.com ¿¡ ´ëÇÑ zone ÀÌ Á¸ÀçÇÕ´Ï´Ù.
>
>[¿øÇÏ´Â °á°ú]
>linux.com ÁúÀÇ -> ns.abc.co.kr ÀÌ 192.168.1.100 ¿¡ ÁúÀÇÇÏ¿© ¹Þ¾Æ¿Â °á°ú¸¦
ÀÀ´äÇÑ´Ù.
>
>±Ùµ¥, nslookup À» Çغ¸¸é,
>(1) ns.abc.co.kr(192.168.1.1) ·Î Á¢¼ÓÇؼ linux.com ÀÇ ÁúÀǸ¦ Çغ¸¸é 192.168.1.100
¿¡ ¼³Á¤µÈ ³»¿ë´ë·Î ÀÀ´äÀÌ Àß ¿É´Ï´Ù.
>
ÀÏ´Ü 192.168.1.1 ¼¹ö°¡ ¾Æ´Ñ ´Ù¸¥ ¸®´ª½º¿¡¼
shell> dig @192.168.1.1 linux.com
ÀÌ·¸°Ô ÁúÀÇÇØ º¸¼¼¿ä.
>(2) kns.kornet.net µî Ÿ DNS ·Î Á¢¼ÓÇؼ linux.com ÀÇ ÁúÀǸ¦ Çغ¸¸é linux.com
ÀÚü¸¦ ãÁö ¸øÇÕ´Ï´Ù.
>
ÀÌ ºÎºÐ ¿ª½Ã ´Ù¸¥ ¸®´ª½º¿¡¼
shell> dig @168.126.63.1 +trace linux.com
ÀÌ·¸°Ô ÁúÀÇÇÑ °á°ú¸¦ ´Ù½Ã ¿Ã·Á ÁÖ¼¼¿ä.
±×·±µ¥ ÇнÀÀÇ ¸ñÀûÀÌ ¾Æ´Ï¶ó¸é ½ÇÁ¦ ¼ºñ½º¿¡¼´Â forward ´Â °ÅÀÇ ¼³Á¤ÇÏÁö ¾Ê½À´Ï´Ù.
>´Ù½Ã Á¤¸®Çϸé ÀÌ¿Í °°½À´Ï´Ù.
>ns.abc.co.kr Àº /etc/named.conf ¿¡¼ ÁöÁ¤ÇÑ ÀÓÀÇÀÇ ³×ÀÓ¼¹ö·Î ºÎÅÍ ÁúÀǸ¦ ÇÏ¿©
¹Þ¾Æ¿Â °á°ú¸¦ ÀÀ´äÇØ ÁÖ´Â Áß°è¼¹ö ¿ªÇÒÀ» ÇÏ·Á°í Çϴ°ǵ¥ ¾ÈµÇ°í
ÀÖ½À´Ï´Ù.
>
>ns.abc.co.kr(192.168.1.1) ¿¡´Â ¾Æ¹«·± µµ¸ÞÀÎÀÇ zone ÀÌ ¾ø°í, ¸ðµç ¿äû¿¡ ´ëÇØ
192.168.1.100 ¿¡ ÁúÀÇÇÏ¿© ±× °á°ú¸¦ ÀÀ´äÇÏ´Â Áß°èÀÚ ¿ªÇÒÀ» Çϵµ·Ï
¸»ÀÌÁÒ..
>
>¹¹°¡ À߸øµÈ °É±î¿ä...
>
>
>[»êÀÌ]´ÔÀÌ ³²±â½Å ±Û:
>
>>
>>[±è¼º¹Î]´ÔÀÌ ³²±â½Å ±Û:
>>
>>>¾È³çÇϼ¼¿ä.
>>>´Ù¸§ÀÌ ¾Æ´Ï¶ó »êÀÌ´Ô Ã¥Áß¿¡ named.conf ¼³Á¤Áß.
>>>fowarders ¶ó´Â ¿É¼Ç¿¡ ´ëÇؼ ¹®Àǵ帱·Á±¸¿ä.
>>>bind-9.2.4-16.EL4.i396.rpm ÀÌ ¼³Ä¡µÇ¾î ÀÖ±¸¿ä.(¸®´ª½º ¼³Ä¡½Ã)
>>>
>>>½±°ÔÇϱâ À§ÇØ 192.168 °ú °°Àº ip ·Î ±âÀçÇÒ²²¿ä..
>>>
>>>ns.abc.co.kr(192.168.1.1) À̶ó´Â ¼¹ö°¡ ÀÖ½À´Ï´Ù.
>>>¿©±â¿¡ µµ¸ÞÀεî·Ï±â°ü¿¡ (nstemp).abc.co.kr ¶ó´Â È£½ºÆ®¸¦ Ãß°¡ÇÏ°í,
>>>nstemp.abc.co.kr -> 192.168.1.2 ·Î ¼³Á¤ÇÏ¿´½À´Ï´Ù.
>>>
>>>ns.abc.co.kr -> 192.168.1.1
>>>nstemp.abc.co.kr -> 192.168.1.2
>>>
>>>ÀÌ¿Í °°½À´Ï´Ù.
>>>
>>>ÀÌ »óÅ¿¡¼
>>>ns.abc.co.kr(192.168.1.1) ¼¹öÀÇ abc.co.kr.zone ¿¡¼ nstemp.abc.co.kr À» A
·¹ÄÚµå·Î 192.168.1.3 À¸·Î °¡°Ô ÇÏ¿´½À´Ï´Ù.
>>>ÇÏÀ§ µµ¸ÞÀÎ Ãß°¡ÇϵíÀÌ.
>>>
>>>Àӽü¹ö¿¡ 192.168.1.3 À» Àâ°í,
>>>¿ÜºÎ¿¡¼ nstemp.abc.co.kr À» ping À» ¶§¸®¸é 192.168.1.3 À¸·Î °©´Ï´Ù.
>>>
>>>ÀÌ »óÅ¿¡¼,
>>>º°°³ÀÇ linux.com À̶ó´Â µµ¸ÞÀÎÀÇ ³×ÀÓ¼¹ö Á¤º¸¸¦ nstemp.abc.co.kr ·Î
¼³Á¤ÇÏ°í,
>>>
>>># Àӽü¹ö (192.168.1.3)
>>>/etc/named.conf
>>>
>>>abc.co.kr À̶ó´Â zone À» ¾È³Ö¾ú½À´Ï´Ù.
>>>¼³Ä¡µÈ »óÅ¿¡¼ ¾Æ¹«°Íµµ ¼öÁ¤¾ÈÇÏ°í »ó´Ü options ¼½¼Ç¿¡ ¾Æ·¡¿Í °°ÀÌ
Ãß°¡ÇÏ¿´½À´Ï´Ù.
>>>
>>>options {
>>> directory "/var/named";
>>> dump-file "/var/named/data/cache_dump.db";
>>> statistics-file "/var/named/data/named_stats.txt";
>>> /*
>>> * If there is a firewall between you and nameservers you want
>>> * to talk to, you might need to uncomment the query-source
>>> * directive below. Previous versions of BIND always asked
>>> * questions using port 53, but BIND 8.1 uses an unprivileged
>>> * port by default.
>>> */
>>> // query-source address * port 53;
>>> forward only ; <---------------------- Ãß°¡
>>> forwarders { 192.168.1.100; }; <----Ãß°¡
>>>};
>>>
>>>¾Æ·¡´Â ¼öÁ¤¾ÈÇÔ.
>>>
>>>192.168.1.100 ´Â linux.com µµ¸ÞÀÎÀÇ ·¹ÄÚµåÁ¤º¸°¡ ÀÖ´Â ³×ÀÓ¼¹ö
ÀÔ´Ï´Ù.
>>>
>>>¿ÜºÎ¿¡¼ linux.com À» nslookup À» Çϸé,
>>>linux.com ?-> nstemp.abc.co.kr(192.168.1.3) -> 192.168.1.100 ¿¡ ÁúÀÇÇÏ¿© °á°ú¸¦
¹Þ¾Æ¿À´Â°Ô ¾ÈµË´Ï´Ù.
>>>
>>>nslookup ½Ã ÁúÀǼ¹ö¸¦ nstemp.abc.co.kr ·Î Çسõ°í Çϸé 192.168.1.100 ¿¡ ÀÖ´Â
³»¿ëÀ» ÀÀ´äÇϴµ¥,
>>>
>>>ÀÎÅͳݾ÷üÀÇ ³×ÀÓ¼¹öÀÎ kns.kornet.net µî ±âŸ dns ¿¡ nslookup ¸¦ Çϸé Server
failed °¡ ³ª¿É´Ï´Ù.
>>>
>>>*** kns.kornet.net can't find linux.com: Server failed
>>>
>>>½ÇÁ¦ µµ¸ÞÀεéÀÇ ·¹ÄÚµåÁ¤º¸¸¦ °¡Áö°í Àִ¼¹ö´Â 192.168.1.100 Àε¥,
>>>192.168.1.3 ÀÌ ¸ðµç ¿äûÀ» ¹Þ¾Æ Áß°èÇÏ´Â ¿ªÇÒÀ» Çغ¸·Á°í Çϴµ¥
¾ÈµÇ³×¿ä..
>>>
>>>
>>>¹¹°¡ À߸øµÈ°ÇÁö ¾Ë¼ö ÀÖÀ»±î¿ä??
>>
>>========================================
>>
>>¹º°¡ Áö±Ý »ó´çÈ÷ ²¿¿© ÀÖ´Â ¼³Á¤ÀÔ´Ï´Ù.
>>
>>¿ì¼±
>>abc.co.kr µµ¸ÞÀο¡ ´ëÇÑ µµ¸ÞÀÎ µî·Ï±â°ü¿¡ ¼³Á¤µÈ ³×ÀÓ¼¹ö Á¤º¸°¡
>>
>>- 1Â÷: nstemp.abc.co.kr 192.168.1.2
>>- 2Â÷: ns.abc.co.kr 192.168.1.1
>>
>>ÀÌ·¸°Ô µî·ÏµÇ¾î ÀÖ³ª¿ä? ¾Æ´Ï¸é ¼·Î ¹Ù²Ù¾îÁ® ÀÖ³ª¿ä?
>>
>>¾Æ¹«Æ° 1Â÷ ³×ÀÓ¼¹öÀÇ abc.co.kr zeon ÆÄÀÏ¿¡¼
>>
>>nstemp.abc.co.kr Àº A ·¹ÄÚµå·Î 192.168.1.2 ·Î ÁöÁ¤ÇØ¾ß ÇÕ´Ï´Ù.
>>192.168.1.3 À¸·Î ÁöÁ¤ÇÏ¸é ¾ÈµË´Ï´Ù.
>>
>>ÀÌ°ÍÀº µî·Ï±â°üÀÇ host Á¤º¸¿Í ³×ÀÓ¼¹ö ·¹Äڵ带 ÀÏÄ¡½ÃÄÑÁִ°Ô
ÁÁ½À´Ï´Ù.
>>
>>µû¶ó¼ linux.com µµ¸ÞÀÎÀº µî·Ï±â°ü¿¡ nstemp.abc.co.kr(192.168.1.2)
>>·Î µî·ÏµÇ¾î Àֱ⠶§¹®¿¡
>>
>>192.168.1.3 ÀÌ ¾Æ´Ñ 192.168.1.2(nstemp.abc.co.kr) ³×ÀÓ¼¹ö¿¡¼ ¼³Á¤ÇØ¾ß ÇÕ´Ï´Ù.
>
>========================================
========================================
|