ÀÌ ºÎºÐÀº David E. Smith (dave@bureau42.ml.org)¾¾°¡ ¾´ 'using bind 8'¿¡ ÀÖ´ø ÀýÀÌ´Ù. »õ·ÎÀº ÀýÀÇ À̸§¿¡ ¸Âµµ·Ï ¾à°£ ÆíÁýÀ» °¡Çß´Ù.
º°·Î ÇؾßÇÒ °ÍÀº ¾ø´Ù. named.boot´ë½Å named.conf¸¦ »ç¿ëÇÏ´Â Á¡ ¸»°í´Â ¸ðµç °ÍÀÌ µ¿ÀÏÇÏ´Ù. bind8Àº ÆÞ ½ºÅ©¸³Æ®·Î ¿¾ Çü½ÄÀÇ ÆÄÀϵéÀ» »õ·Î¿î Çü½Ä¿¡ ¸Â°Ô º¯È¯ÇÑ´Ù. ´ÙÀ½Àº ¿¾Çü½ÄÀ¸·Î µÈ ij½Ã Àü¿ë ³×ÀÓ ¼¹öÀÇ ¿¹ÀÌ´Ù.
directory /var/named cache . root.hints primary 0.0.127.IN-ADDR.ARPA 127.0.0.zone primary localhost localhost.zone
On the command line, in the bind8/src/bin/named directory (this assumes you got a source distribution. If you got a binary package the script is probably around, I'm not sure where it would be though. -ed.), type:
bind8/src/bin/named µð·ºÅ丮(¿©·¯ºÐ¿¡°Ô ¼Ò½º°¡ ÀÖ´Ù°í °¡Á¤ÇÑ´Ù. ¸¸¾à ¹ÙÀ̳ʸ® ÆÐÅ°Áö¸¦ °¡Áö°í ÀÖ´õ¶óµµ ÀÌ ½ºÅ©¸³Æ®´Â ºÐ¸í ¾îµò°¡¿¡ ÀÖÀ» °ÍÀÌ´Ù. ¾îµð¿¡ ÀÖÀ»Áö´Â È®½ÅÇÒ¼ö ¾ø´Ù.)¿¡¼ ´ÙÀ½ ¸í·ÉÀ» ÀÔ·ÂÇÏÀÚ.
./named-bootconf.pl < named.boot > named.conf
±×·¯¸é named.conf°¡ ¸¸µé¾î Áø´Ù.
// generated by named-bootconf.pl options { directory "/var/named"; }; zone "." { type hint; file "root.hints"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "127.0.0.zone"; }; zone "localhost" { type master; file "localhost.zone"; };
named.conf ÆÄÀÏ¿¡ µé¾î°¥ ¼ö ÀÖÀ» ¸¸Å ¸ðµç °ÍÀÌ ÀÛµ¿Çϱâ´Â ÇÏÁö¸¸ bind8ÀÌ Áö¿øÇÏ´Â »õ·Ó°Ô Çâ»óµÈ ±â´ÉÀ̳ª ¼³Á¤ ¿É¼ÇµéÀº Ãß°¡µÇÁö ¾Ê´Â´Ù. ¿©±â¿¡ ¶È°°Àº ÀÏÀ» ÇÏÁö¸¸ Á»´õ È¿°úÀûÀÎ ´õ¿í ¿ÏÀüÇÑ named.conf°¡ ÀÖ´Ù.
// This is a configuration file for named (from BIND 8.1 or later). // It would normally be installed as /etc/named.conf. // The only change made from the `stock' named.conf (aside from this // comment :) is that the directory line was uncommented, since I // already had the zone files in /var/named. options { directory "/var/named"; datasize 20M; }; zone "localhost" IN { type master; file "localhost.zone"; }; zone "0.0.127.in-addr.arpa" IN { type master; file "127.0.0.zone"; }; zone "." IN { type hint; file "root.hints"; };
bind8/src/bin/named/test¿¡ À§ÀÇ ¿¹¿Í ÇÔ²² ¹Ù·Î °¡Á®´Ù ¾µ ¼ö ÀÖ´Â Á¸ ÆÄÀÏ º¹»çº»ÀÌ ¸¹ÀÌ ÀÖ´Ù.
Á¸ ÆÄÀÏ°ú root.hints ÆÄÀÏÀ» ¾÷µ¥ÀÌÆ®ÇÏ´Â ¸í·ÉÀÌ µ¿ÀÏÇϵíÀÌ, Á¸ ÆÄÀÏ°ú root.hints ÆÄÀÏÀÇ Çü½Äµµ µ¿ÀÏÇÏ´Ù.