¿©Å http://dnip.net ÀÌ °÷¿¡¼ ¹«·áµµ¸ÞÀÎÀ» ¹Þ¾Æ À¥¼¹ö¿¡ µµ¸ÞÀÎÀ» ¹°·Á »ç¿ëÇØ ¿Ô½À´Ï´Ù.
À̹ø¿¡ µµ¸ÞÀÎÀ» Çϳª »ò½À´Ï´Ù. '³Ê³ª¿ì¸®'¶ó°í ÇÏ´Â µî·Ï´ëÇà¾÷ü¸¦ ÅëÇؼ »ò½À´Ï´Ù.
±×¸®°í ¿©Å À¥¼¹ö¿Í FTP¼¹ö Áß½ÉÀ¸·Î ¿î¿µÇÏ´ø Á¦ ¼¹ö¸¦ ³×ÀÓ¼¹ö·Îµµ ¿î¿µÇؼ ¹«·áÈ£½ºÆõµ °èȹÇÏ°í ÀÖ½À´Ï´Ù. À¥È£½ºÆþ÷ü¿¡¼ ÇÏ´Â °Íó·³ µµ¸ÞÀÎ¸í ¾Õ¿¡ ºÙ´Â È£½ºÆ®¸í¸¸ ´Þ¸® Çϸç ÀÌ¿ëÀڵ鿡°Ô µµ¸ÞÀÎÀ» µû·Îµû·Î ºÎ¿©Çϱâ À§ÇؼÁÒ.
http://www.dnsever.com ÀÌ °÷¿¡¼ Á¦°øÇÏ´Â ³×ÀÓ¼¹ö¸¦ ºô·Á »ç¿ëÇصµ µÇ°ÚÁö¸¸ Àú´Â À̹ø ±âȸ¿¡ µµ¸ÞÀÎ °øºÎ È®½ÇÈ÷ ÇÒ °â Á¦ ¼¹ö¿¡ ³×ÀÓ¼¹ö¸¦ ±¸ÃàÅ°·Î ÇÏ¿´½À´Ï´Ù.
À̹ÌÁö·Î º¸½Ã´Â ¹Ù¿Í °°ÀÌ ³Ê³ª¿ì¸®¿¡¼ ³×ÀÓÈ£½ºÆ® µî·Ï ¸Þ´º¸¦ Á¦°øÇÏ°í ÀÖ½À´Ï´Ù. ±× ¸Þ´º¿¡¼ Á¦ µµ¸ÞÀο¡ °øÀ¯±â°¡ ¹Þ´Â °øÀÎIP¸¦ ¿¬°áÇØ ÁÖ¾ú½À´Ï´Ù.
µè±â·Î´Â ÀÌ·¸°Ô ÇØ Á־ Àü¼¼°è ¸ðµç DNS¿¡ ÀüÆÄ°¡ µÇ·Á¸é ÇÏ·ç ÀÌƲ °É¸°´Ù°í Çϴ±º¿ä.
±Ùµ¥ ¹®Á¦´Â ½ÇÁ¦·Î ³×ÀÓ¼¹ö´Â °øÀ¯±â ÀÚü¿¡¼ µ¹¾Æ°¡°í ÀÖ´Â°Ô ¾Æ´Ï¶ó °øÀ¯±â ÇÏ´Ü¿¡ »ç¼³¾ÆÀÌÇÇ·Î ¹°¸° ¸®´ª½º¼¹ö¿¡¼ named µ¥¸óÀÌ µ¹¾Æ°¡°í ÀÖ´Ù´Â °ÍÀÌÁÒ.
ÀÌ °æ¿ì °øÀ¯±â¿¡¼ ¸®´ª½º¼¹ö·Î ³×ÀÓ¼¹ö¿Í °ü·ÃµÈ Æ÷Æ®¸¸ Æ÷¿öµùÇØÁÖ¸é ÇØ°áµÇ´Â °Ç°¡¿ä? Áö±ÝºÎÅÍ ±¸Ã¼ÀûÀ¸·Î ÇϳªÇϳª¾¿ Áú¹® µé¾î°©´Ï´Ù.
1. 53¹ø Æ÷Æ®¸¦ Æ÷¿öµùÇÏ¸é µÉ °Í °°Àºµ¥ ÀÌ°Ô TCP, UDP ¸ðµÎ °³¹æÇØ¾ß µÇ´Â °ÍÀÎÁö¿ä?
±×¸®°í ¸®´ª½ºÀÇ /etc/services ÆÄÀÏÀ» º¸¸é 42¹ø Æ÷Æ®µµ ³×ÀÓ¼¹ö¿Í °ü·ÃµÈ Æ÷Æ®ÀÎ °Í °°Àºµ¥ ÀÌ Æ÷Æ®µµ TCP, UDP ¸ðµÎ °³¹æÇØ¾ß µÇ´Â °Ç°¡¿ä? Àú´Â ¿©Å ¾ð±ÞÇÑ ¸ðµç Æ÷Æ®¸¦ ´Ù Æ÷¿öµù½ÃÄÑ µÎ±ä Çß½À´Ï´Ù. Ȥ½Ã ºÒÇÊ¿äÇÏ°Ô Æ÷¿öµùÇØ µÐ °Ô ÀÖÀ¸¸é ¸»¾¸ÇØ Áֽðí¿ä.
2. ¸®´ª½º ¼¹ö¿¡ ÇÒ´çÇÑ °¢ ÆÄÀÏÀ» vi ÆíÁý±â·Î ¿¬ °ÍµéÀ» °ø°³ÇÏ°Ú½À´Ï´Ù. À߸øµÈ °Ô ÀÖÀ¸¸é ÁöÀûÇØ ÁÖ¼¼¿ä.
A. /etc/hosts
127.0.0.1 digimoon.net localhost
58.74.175.3 ns.digimoon.net ns <- ¾ÕÂÊ IP´Â °øÀ¯±â°¡ ¹Þ´Â °øÀÎIP ÁÖ¼ÒÀÔ´Ï´Ù.
¼¹ö°¡ °øÀ¯±â·ÎºÎÅÍ ¹Þ´Â »ç¼³IP¸¦ ³Ö¾îÁà¾ß µÇ´Â °ÇÁö °øÀ¯±â°¡ Á÷Á¢ ¹Þ´Â °øÀÎIP¸¦ ³Ö¾îÁà¾ß µÇ´ÂÁö ¸ð¸£°Ú³×¿ä.
B. /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=ns.digimoon.net
GATEWAY=192.168.0.254 <-°øÀ¯±âÀÇ »ç¼³ ÁÖ¼ÒÀÔ´Ï´Ù.
C. /etc/resolv.conf
search digimoon.net
domain digimoon.net
nameserver 58.74.175.3 <- °øÀ¯±â°¡ ¹Þ´Â °øÀÎIP
nameserver 168.126.63.1
D. /etc/named.conf <- ³×ÀÓ¼¹ö¿Í °ü·ÃµÈ ¼³Á¤ ºÎºÐ¸¸ Àû½À´Ï´Ù.
zone "175.74.58.in-addr.arpa" IN {
type master;
file "digimoon.net.rev";
allow-update { none; };
zone "digimoon.net" IN {type master; file "digimoon.net.zone"; allow-update { none; }; };
E. /var/named/digimoon.net.rev
$TTL 43200
@ IN SOA ns.digimoon.net. root.digimoon.net. (
2007093023
3H
15M
1W
1D )
IN NS ns.digimoon.net.
;
3 IN NS ns.digimoon.net.
3 IN PTR www.digimoon.net.
3 IN PTR digimoon.net.
F. /var/named/digimoon.net.zone
$TTL 43200
@ IN SOA ns.digimoon.net. root.digimoon.net. (
2007093023
3H
15M
1W
1D )
;
IN NS ns.digimoon.net.
IN MX 0 mail.digimoon.net.
IN TXT "v=spf1 ip4:58.74.175.3 ~all"
IN A 58.74.175.3
www IN A 58.74.175.3
mail IN A 58.74.175.3
* IN A 58.74.175.3
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.