´ÙÀ½ ÀÌÀü Â÷·Ê

3. BIND¸¦ ÄÄÆÄÀÏ ÇÕ´Ï´Ù.

www.isc.org/bind.html ³ª ´Ù¸¥ ¹Ì·¯ ½ÎÀÌÆ®¿¡ °¡¼­ ÃÖ½ÅÀÇ bind¸¦ ±¸ÇÕ´Ï´Ù.

3.1 °æ·Î¸¦ ¼öÁ¤ÇØ ÁÝ´Ï´Ù.

(confusingÇÒ¼ö ÀÖ´Ù°í ÇÕ´Ï´Ù. ^^) ±âº» µð·ºÅ丮´Â /var/runÀÌ°í ÀÌ°ÍÀº chroot¾È¿¡ À§Ä¡½ÃÄÑ¾ß ÇÕ´Ï´Ù. ndc¶ÇÇÑ ´Ù¸¥ µð·ºÅ丮¿¡ À§Ä¡Çϱ⠶§¹®¿¡ ¼öÁ¤ÇØÁÖ¾î¾ß ÇÕ´Ï´Ù. ¸®´ª½º ½Ã½ºÅÛÀ̶ó°í °¡Á¤ÇÏ°í ´ÙÀ½ È­ÀÏÀ» ´ÙÀ½°ú °°ÀÌ ¼öÁ¤ÇØ ÁÝ´Ï´Ù. src/port/linux/Makefile.set ÀÇ È­Àϳ»ºÎÀÇ DESTRUN=/var/run À» DESTRUN=/chroot/named/var/run À¸·Î ¼öÁ¤ÇØ ÁÝ´Ï´Ù. (While you're in there, you may want to change the other destination paths from /usr to /usr/local. ) ³×ÀÓ µ¥¸ó¸¸ »©°í´Â ¸ðµÎ chroot¾È¿¡¼­ Á»´õ ¼öÁ¤ÇØ ÁÝ´Ï´Ù. src/bin/named/named.h È­ÀÏÀº #include "pathnames.h" À» #define _PATH_NDCSOCK "/var/run/ndc" À¸·Î ¼öÁ¤ÇØ ÁÝ´Ï´Ù.

3.2 È­ÀÏÀ» »ý¼ºÇÕ´Ï´Ù.

INSTALLÈ­ÀÏÀ» ÀÐ¾î º¸°í º¸Åë ¼³Ä¡¸¦ Çϳª ÀÌ °÷¿¡¼­´Â ¸¸µé±â¸¸ ÇÏÁö ¼³Ä¡¸¦ ÇÏÁö´Â ¾Ê½À´Ï´Ù. ¹°·Ð À̰͵µ INSTALLÈ­ÀÏ¿¡ ÀûÇôÀÖ´Â °Í°ú ´Ù¸£Áö ¾Ê½À´Ï´Ù. ¾Æ·¡¿Í °°ÀÌ º¸Åë ¸í·ÉÇàÀ» ÀÔ·ÂÇØ ÁÝ´Ï´Ù.

#make clean #make depend #make

´ÙÀ½ ÀÌÀü Â÷·Ê