#contents
** ¤³¤ì¤Þ¤Ç¤ÎÉü½¬ [#jf62a8c4]
¤³¤ì¤Þ¤Ç¤Î¼ø¶È¤ËÄɤ¤ÉÕ¤±¤Æ¤¤¤Ê¤¤¡¤¤â¤·¤¯¤ÏÍý²ò¤¬´°Á´¤Ç¤Ê¤¤¡¤¤È¤¤¤¦³ØÀ¸¤â¤¤¤ë¤À¤í¤¦¤·¡¤¤Þ¤¿¡¤Åßµ¨µÙ¶È¤Ç¼ø¶È¤¬¶õ¤¤¤¿¤³¤È¤Ç¿ïʬ˺¤ì¤Æ¤·¤Þ¤Ã¤¿¡¤¤È¤¤¤¦Éôʬ¤â¤¢¤ë¤À¤í¤¦.
¤½¤³¤Ç¾¯¤·»þ´Ö¤ò¼è¤ê¡¤¤³¤ì¤Þ¤Ç¤ÎÉü½¬¤ä²òÀâ¤ò¹Ô¤¦.
* DNS ¤È¤Ï¤Ê¤Ë¤«? [#mef86f0c]
º£²ó¤Ï DNS (Domain Name System) ¤Ë¤Ä¤¤¤Æ³Ø½¬¤·¤è¤¦.
¤³¤ì¤Þ¤Ç¤Î¼ø¶ÈÆâÍƤ˲䨤Ƥ³¤Î DNS ¤¬¤ï¤«¤ì¤Ð¡¤¥µ¡¼¥ÐÀßÄê¤Î¡ÖɬÍ׺ÇÄã¸Âʬ¤Î´ðÁáפ¬¤ª¤ª¤è¤½¤ï¤«¤Ã¤¿¤È¤¤¤¨¤ë¤«¤â¤·¤ì¤Ê¤¤((¤â¤Á¤í¤ó¡¤¥Í¥Ã¥È¥ï¡¼¥¯¤Î¥ë¡¼¥Æ¥£¥ó¥°¤À¤Î¥Ñ¥±¥Ã¥È¥Õ¥£¥ë¥¿¥ê¥ó¥°¤À¤Î¡¤¤³¤ÎʬÌî¤ÇÃΤäƤ¤¤¿Êý¤¬¤è¤¤¤³¤È¤Ï̵¸Â¤Ë¤¢¤ë¤È¸À¤Ã¤Æ¤â¤è¤¤.)).
¤µ¤Æ¡¤DNS ¤È¤Ï¥Û¥¹¥È̾(¾ÜºÙ¤Ï¸å½Ò¤¹¤ë)¤È IP address ¤ÎÂбþ¤ò¤Ï¤¸¤á¤È¤¹¤ë¡¤¥Û¥¹¥È̾¤È¥Í¥Ã¥È¥ï¡¼¥¯¹½Â¤¤ÎÂбþ´Ø·¸¤Ë´Ø¤¹¤ëʬ»¶¥Ç¡¼¥¿¥Ù¡¼¥¹¤È¤½¤ÎÌ䤤¹ç¤ï¤»¤Î»ÅÁȤߤǤ¢¤ë.
ʬ»¶¤·¤¿µðÂç¤ÊÅÅÏÃÄ¢¤ò»×¤¤É⤫¤Ù¤ì¤Ð¤è¤¤¤À¤í¤¦.
Æüº¢ web ¤ò»È¤Ã¤¿¤ê¤·¤Æ¤¤¤Æ¡¤¤½¤ÎÌò³ä¤Ï´û¤Ë¤ª¤è¤½ÃΤäƤ¤¤ë¤È¤³¤í¤È»×¤¦.
#br
CENTER:&ref(./DNS-model.png,80%);
CENTER:DNS ¤Î´ðÁÃŪ¤ÊÌò³ä
#br
°Ê²¼¤Ç¹Ô¤¦¥µ¡¼¥Ð¤ÎÀßÄê¤â¡¤¾ÜºÙÉôʬ¤ò½ü¤±¤Ð¤½¤ó¤Ê¤ËÆñ¤·¤¯¤Ï¤Ê¤¤((¤è¤¦¤Ë¸«¤¨¤ë¤È»×¤¦. ¤Þ¤¢¡¤°Ñ¾ù(delegation)¤À¤Î¤Ê¤ó¤À¤Î¤È¸À¤¤½Ð¤¹¤È¸Â¤ê¤Ê¤¯¤ä¤ä¤³¤·¤¯¤Ê¤Ã¤Æ¤¤¤¯¤Î¤À¤¬¡Ä)).
** ɬ¤º DNS ¤ò»È¤ï¤Ê¤¤¤È¤¤¤±¤Ê¤¤¤«? [#x4b9ec6f]
** ɬ¤º DNS ¤ò»È¤ï¤Ê¤¤¤È¤¤¤±¤Ê¤¤¤«? [#d7dbc108]
»È¤Ã¤Æ¤¤¤ë¥Þ¥·¥ó¤ò¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤Ë·Ò¤°¤Î¤Ç¤¢¤ì¤Ð¤Þ¤ºÉ¬ÍפǤ¢¤ë¤È¸À¤Ã¤Æ¤è¤¤.
DNS ¤Ï¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤Î¥Û¥¹¥È̾¤òÍѤ¤¤Æ¤½¤Î¥Û¥¹¥È¤Ø¥¢¥¯¥»¥¹¤¹¤ë¤¿¤á¤Î»ö¼Â¾å¤Î¡ÖÅÅÏÃÄ¢¡×¤Ê¤Î¤Ç¤¢¤ë.
¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤ÎµðÂ礵¤ò¹Í¤¨¤ë¤È¡¤Â¾¤ÎÊýË¡¤Ç¤³¤Îµ¡Ç½¤ò´°Á´¤ËÂåÍѤ¹¤ë¤Î¤Ï¤Û¤ÜÉÔ²Äǽ¤À¤í¤¦.
µÕ¤Ë¸À¤¨¤Ð¡¤¡Ö¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤Ë·Ò¤¬¤Ê¤±¤ì¤ÐÉÔÍפʤ³¤È¤â¤¢¤ë¡×¤Î¤Ç¡¤¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤Ë·Ò¤¬¤Ê¤¤¾®¤µ¤Ê¥Í¥Ã¥È¥ï¡¼¥¯¤ò¹½À®¤¹¤ëºÝ¤Ï DNS °Ê³°¤ÎÁªÂò»è¤â¸¡Æ¤¤Î;ÃϤ¬¤¢¤ë¤³¤È¤ò˺¤ì¤Æ¤Ï¤¤¤±¤Ê¤¤.
** /etc/hosts [#p33b1899]
** /etc/hosts [#fff8eac9]
¥Û¥¹¥È̾¤È IP ¥¢¥É¥ì¥¹¤ÎÂбþ¤Ê¤É¤Î¡Ö¥Í¥Ã¥È¥ï¡¼¥¯ÅÅÏÃÄ¢¥Ç¡¼¥¿¡×¤Ï,¡Ö¼«Á°¤Î¥á¥â¤Ë½ñ¤¤¤Æ¤ª¤¯¡×¤³¤È¤â¤Ç¤¤ë.
¤³¤ì¤Ï¡¤ /etc/hosts ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤Ë½ñ¤¤³¤à¤À¤±¤Ç¤è¤¤.
¤·¤«¤â¤³¤ì¤Ï DNS ¤ÈξΩ¤¬²Äǽ¤Ç¤¢¤ë¡¥
¤³¤ÎÊýË¡¤Ï DNS ¥µ¡¼¥Ð¤¬ÉÔ°ÂÄê¤Ç¤¢¤ë¤è¤¦¤Ê¥Í¥Ã¥È¥ï¡¼¥¯¤Ëµï¤ë¤È¤¤Ë¤Ï·ë¹½Í¸ú¤Ç¤¢¤ë¤Î¤Ç³Ð¤¨¤Æ¤ª¤¯¤È¤è¤¤.
&ref(./warning.png); /etc/hosts ¤Ë¥Û¥¹¥È̾¤È IP¥¢¥É¥ì¥¹¤ÎÂбþ¤ò½ñ¤¤¤Æ¤¢¤ëÁê¼ê¤Ë´Ø¤·¤Æ¤Ï¡¤DNS¥µ¡¼¥Ð¤ËÀܳ¤Ç¤¤Ê¤¤¾ì¹ç¤Ç¤âÀܳ¤¬²Äǽ¤À. ¤À¤«¤é¡¤¥Ç¡¼¥¿¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò¤·¤Æ¤¯¤ì¤ëÁê¼ê¤Ê¤É¡¤DNS¥µ¡¼¥Ð¤Î¾õÂ֤˴ط¸¤Ê¤¯Àܳ¤·¤¿¤¤Áê¼ê¤Î¾ðÊó¤Ï /etc/hosts ¤Ë½ñ¤¤¤Æ¤ª¤¯¤³¤È¤âÎɤ¤ÊýË¡¤«¤âÃΤì¤Ê¤¤.
&br;
&ref(./warning.png); /etc/hosts ¤Î¤³¤ÎÊØÍø¤ÊÀ¼Á¤¬¡¤µÕ¤Ë cracker ¤ä virus ¤ËÍøÍѤµ¤ì¤ë¤³¤È¤¬¤¢¤ë. ÆÃ¤Ë ms-windows ¤Î virus ¤Ë¤Ï /etc/hosts ¤ËÁêÅö¤¹¤ë¥Õ¥¡¥¤¥ë(C:\WINDOWS\system32\drivers\etc\hosts ¤Ê¤É)¤òÊÔ½¸¤·¤Æ virusÂкö¥½¥Õ¥È¥¦¥§¥¢¥á¡¼¥«¤Î Web ¤Ë¥¢¥¯¥»¥¹¤Ç¤¤Ê¤¯¤¹¤ë¤è¤¦¤Ë¤¹¤ë¤â¤Î¤Ê¤É¤¬¤¢¤ë¤Î¤Ç¡¤ms-windows, MacOS, unix ¤Î¤¤¤º¤ì¤Î OS ¤ò»È¤Ã¤Æ¤¤¤ë¤Ë¤»¤è¡¤/etc/hosts ¥Õ¥¡¥¤¥ëÁêÅö¤Î¥Õ¥¡¥¤¥ë¤ÎÃæ¿È¤Ë¤Ï»þ¡¹Ãí°Õ¤òʧ¤Ã¤¿Êý¤¬¤è¤¤.
&br;
¤Ê¤ª¡¤/etc/hosts ¤Î¾ðÊó¤È DNS ¤Ø¤ÎÌ䤤¹ç¤ï¤»¤Î¤É¤Á¤é¤òÍ¥À褹¤ë¤«¤Ï /etc/nsswitch.conf ¥Õ¥¡¥¤¥ë¤Î "hosts" ¹àÌܤ˽ñ¤«¤ì¤Æ¤¤¤ë½ç½ø¤ÇÀßÄê¤Ç¤¤ë.
¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï
hosts: files dns
¤È¤Ê¤Ã¤Æ¤ª¤ê¡¤/etc/hosts ¤òÍ¥À褹¤ë¤È¤¤¤¦ÂÅÅö¤ÊÀßÄê¤Ë¤Ê¤Ã¤Æ¤¤¤ë.
&ref(./notes.png); /etc/nsswitch.conf ¤òÆɤó¤Ç¡¤¾å¤Î¤è¤¦¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤ª¤³¤¦.
** DNS ¤¬¡Ö¥Í¥Ã¥È¥ï¡¼¥¯¾å¤Îʬ»¶¥Ç¡¼¥¿¥Ù¡¼¥¹¡×¤Î·Á¤Ç¤¢¤ëɬÁ³À [#nd7f1da8]
¥Í¥Ã¥È¥ï¡¼¥¯¤ÎµðÂ礵¤È¤½¤ÎÊѲ½¤ÎÁᤵ¤ò¹Í¤¨¤ë¤È¡¤°ì¥«½ê¤Ë¥Ç¡¼¥¿¤ò½¸¤á¤Æ¤Î´ÉÍý¤Ï»ö¼Â¾å̵Íý¤Ê¤³¤È¤Ï¤¹¤°¤ï¤«¤ë¤À¤í¤¦.
¤Ä¤Þ¤ê¡¤Ê¬»¶¤·¤Æ¡¤¤Ê¤ë¤Ù¤¯¸½¾ì¤Ë¶á¤¤Éôʬ¤Ç³Æ¡¹´ÉÍý¤·¤Æ¤â¤é¤¦¡Öʬ»¶¥Ç¡¼¥¿¥Ù¡¼¥¹¡×
¤È¤·¤Æ¤Î¤³¤Î·Á¤Ë¼«Á³¤È¹Ô¤Ã夯¤³¤È¤ÏÍý²ò¤Ç¤¤ë¤À¤í¤¦.
** ¥Û¥¹¥È¡¤¥É¥á¥¤¥ó [#j91fea61]
ºåÂç¤Îweb¥µ¡¼¥Ð¤Ï www.osaka-u.ac.jp ¤È¤¤¤¦Ì¾¾Î¤Ç¤¢¤ë¤¬¡¤¤³¤ì¤òÎã¤Ë¤·¤ÆÀâÌÀ¤·¤è¤¦.
¤Þ¤º¡¤¤³¤ì¤Ï www.osaka-u.ac.jp. ¤ÈºÇ¸å¤Ë¥É¥Ã¥È¤ò¤Ä¤±¤¿É½µ¤¬Àµ¼°¤Ç¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤ª¤¯.
ºÇ¸å¤Î¥É¥Ã¥È¤Ï¡ÖÈó¾ï¤Ë¤·¤Ð¤·¤Ð¡×¾Êά¤µ¤ì¤Æ¤¤¤ë¤À¤±¤Ç¤¢¤ë.
Ä̾ï¥æ¡¼¥¶¤È¤·¤Æ¤Ï¤³¤ì¤Ïµ¤¤Ë¤¹¤ëɬÍפϤʤ¤¤¬¡¤DNS Server ¤ÎÀßÄê¤ÎºÝ¤Ë¤ÏºÇ¸å¤Î¥É¥Ã¥È¤ò¾Êά¤¹¤ë¤È¡Ö´Ö°ã¤¨¡×¤Ë¤Ê¤ë¾ìÌ̤¬¤¢¤ë¤Î¤ÇÍ×Ãí°Õ¤À.
&ref(./warning.png); ÉáÃʤϰռ±¤·¤Ê¤¯¤Æ¤è¤¤¤¬¡¤¤³¤Î¡ÖºÇ¸å¤Î¥Ô¥ê¥ª¥É¡×¤Ï¥Í¥Ã¥È¥ï¡¼¥¯´ÉÍý¤Ç¤Ï¤¢¤Á¤³¤Á¤Ë´é¤ò½Ð¤¹¤Î¤ÇÍ×Ãí°Õ¤À.
¤µ¤Æ¼¡¤Ë¤³¤ÎÃæ¿È¤Ç¤¢¤ë¤¬¡¤¤³¤ì¤Ï osaka-u.ac.jp ¤È¤¤¤¦¥É¥á¥¤¥ó¤ÎÃæ¤Î www ¤È¤¤¤¦¥Û¥¹¥È¤Ç¤¢¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë.
¤µ¤é¤Ë¥É¥á¥¤¥óÉôʬ¤ò¾Ü¤·¤¯²òÀ⤹¤ë¤È¡¤Àµ³Î¤Ë¤Ï¤³¤ì¤Ï .(¥É¥Ã¥È) ¤Çɽ¤µ¤ì¤ë¥ë¡¼¥È¥É¥á¥¤¥ó¤ÎÃæ¤Ë jp ¥É¥á¥¤¥ó¤¬¤¢¤ê¡¤¤½¤ÎÃæ¤Ë ac ¥É¥á¥¤¥ó¤¬¤¢¤ê¡¤¤µ¤é¤Ë¤½¤ÎÃæ¤Ë osaka-u ¥É¥á¥¤¥ó¤¬¤¢¤ë¤È¤¤¤¦¹½Â¤¤ò¤·¤Æ¤¤¤ë.
www.osaka-u.ac.jp. ¤ò¿Þ¤Ç½ñ¤¯¤È¼¡¤Î¤è¤¦¤Ë¤Ê¤ë(Îò»ËŪ¤Ë ¤è¤ê¡Ö¹¤¤¡×¥É¥á¥¤¥ó¤ò¾å¤ËÉÁ¤¯).
CENTER:&ref(./domain-structure.png);
³Æ³¬ÁؤˤÏÊ£¿ô(¤È¤¤¤¦¤«Èó¾ï¤Ë¿¤¯¤Î)¥É¥á¥¤¥ó¤¬´Þ¤Þ¤ì¤ë¤Î¤Ç¡¤¤½¤Î´Ø·¸¤â¤¢¤ï¤»¤ÆÉÁ¤¯¤È¤Ä¤®¤Î¤è¤¦¤Ë¤Ê¤ë.
CENTER:&ref(./domain-structure-multi.png);
¤Á¤Ê¤ß¤Ë¡¤www.osaka-u.ac.jp ¤Î¤è¤¦¤Ë¡¤¥Û¥¹¥È̾+¥É¥á¥¤¥ó̾¤ò¤¹¤Ù¤Æ¤¢¤ï¤»¤¿·Á¤Ç¤Î̾¾Î¤ò FQDN(Fully Qualified Domain Name)¤È¤¤¤¦.
** DNS ¤ÎÌ䤤¹ç¤ï¤»¤Î¤ª¤ª¤¶¤Ã¤Ñ¤Ê»ÅÁÈ¤ß [#c9cc067d]
DNS ¤ÎÌ䤤¹ç¤ï¤»¤Ï¸úΨ¤ä°ÂÁ´À¤Î¤¿¤á¤Ë¼Â¤Ï·ë¹½Ê£»¨¤Ê»ÅÁȤߤˤʤäƤ¤¤ë¤Î¤À¤¬¡¤Èó¾ï¤ËÂ礶¤Ã¤Ñ¤Ë¸À¤¨¤Ð¡¤³Æ¡¹¤Î³¬ÁؤΥɥᥤ¥ó¤Î¾ðÊó¤ò¼õ¤±»ý¤Ä¥Í¡¼¥à¥µ¡¼¥Ð·²¤¬¤¢¤ê, ¤½¤ì¤é¤¬¤½¤ì¤¾¤ì²¼¤Î³¬ÁؤΥ͡¼¥à¥µ¡¼¥Ð·²¤Î̾Á°¤òÃΤäƤ¤¤ë¤³¤È¤Ç¥Ç¡¼¥¿¥Ù¡¼¥¹¤¬Ê¬»¶¤µ¤ì¤ë·Á¤Ë¤Ê¤Ã¤Æ¤¤¤ë.
¤½¤·¤Æ¡¤DNS server ¤Ø¤ÎÌ䤤¹ç¤ï¤»¤È¤¤¤¦¤Î¤Ï¡¤¾å¤Î¥µ¡¼¥Ð¤«¤é½ç¡¹¤Ë¾ðÊó¤òºÆµ¢Åª¤ËÌ䤤¹ç¤ï¤»¤ÆºÇ¸å¤Î¡Ö¾ðÊó¤ËÀÕǤ¤ò»ý¤Ã¤Æ¤¤¤ë¡×¥Í¡¼¥à¥µ¡¼¥Ð(SOA: Start of Authority. ¡Ö¸¢°Ò¤Î³«»Ï¡×¤Ê¤É¤ÈľÌõ¤µ¤ì¤ë.) ¤òÄ󶡤¹¤ë¥µ¡¼¥Ð¤Î¤³¤È)¤«¤éÅú¤¨¤òÆÀ¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë.
¤è¤êºÙ¤«¤¤¡¤Àµ³Î¤ÊÏäϥµ¡¼¥ÐÀßÄê»þ¤Ë¸å½Ò¤¹¤ë.
¤³¤Î¤è¤¦¤Ë¡¤¥Ç¡¼¥¿¥Ù¡¼¥¹¤¬³¬Áع½Â¤¤ò¤â¤Ã¤Æʬ»¶¤µ¤ì¤Æ¤¤¤Æ¡¤Ã¯¤¬¤É¤Î¥Ç¡¼¥¿¤ÎÀÕǤ¼Ô¤Ê¤Î¤«¤¬ºÇ½ªÅª¤Ë°ì°Õ¤Ë·è¤Þ¤ê¡¤¤«¤Ä¡¤¤½¤³¤ØÌ䤤¹ç¤ï¤»¤¬¹Ô¤¯¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Î¤¬DNS ¤Î»ÅÁȤߤΤ褯¤Ç¤¤Æ¤¤¤ë¤È¤³¤í¤Ç¤¢¤ë.
DNS ¤Î»ÅÁȤߤϤ«¤Ê¤ê¸Å¤¤¤ï¤ê¤Ë¡Ö¥·¥ó¥×¥ë¤Ê¤¬¤éÎɤ¯¤Ç¤¤Æ¤¤¤ë¡×.
¤â¤Á¤í¤óºÙ¤«¤¤ÌäÂê¤Ï¤¢¤ë¤Î¤Ç¡¤¾¯¤·¤º¤Ä²þÁ±¤µ¤ì¤Æ¤¤¤¯¤À¤í¤¦.
** DNS Ì䤤¹ç¤ï¤»¤Î¼ïÎà(Æó¼ïÎढ¤ë) [#be3ea513]
DNS ¥µ¡¼¥Ð¤Ø¤ÎÌ䤤¹ç¤ï¤»¤Ï¡¤Â礶¤Ã¤Ñ¤Ë¸À¤Ã¤ÆÆó¼ïÎढ¤ë.
ʬ¤«¤ê¤Ë¤¯¤¤¤Î¤Ç¤³¤³¤Ç½ñ¤¤¤Æ¤ª¤³¤¦.
: ºÆµ¢ÅªÌ䤤¹ç¤ï¤» | ´ÝÅꤲŪÌ䤤¹ç¤ï¤». ʹ¤«¤ì¤¿Êý¤Ï¡¤¼«Ê¬¤¬ÃΤé¤Ê¤±¤ì¤Ð¾¤Î¥µ¡¼¥Ð¤Ëʹ¤²ó¤ë¤Ê¤É¤·¤Æ¤¤¤í¤¤¤í¶ìÏ«¤·¤ÆºÇ½ªÅª¤ÊÅú¤¨¤ò½Ð¤µ¤Ê¤¤¤È¤¤¤±¤Ê¤¤. ¤¿¤À¤·¡¤¤µ¤é¤Ë狼¤Ë´ÝÅꤲ¤¹¤ë¤Î¤Ï¥¢¥ê¤Ç¤¢¤ë.
: ÈóºÆµ¢ÅªÌ䤤¹ç¤ï¤» | ʹ¤«¤ì¤ëÊý¤ËÉéô¤Î¾¯¤Ê¤¤Ì䤤¹ç¤ï¤». ʹ¤«¤ì¤¿Êý¤Ï¡¤¡ÖÅú¤¨¤ò¤º¤Ð¤êÃΤäƤ¤¤ì¤ÐÅú¤¨¤ò¡¤¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¼«Ê¬¤è¤êÅú¤¨¤Ë¶á¤½¤¦¤Ê¥Í¡¼¥à¥µ¡¼¥Ð¤òÃΤäƤ¤¤ì¤Ð¤½¤Î¥Í¡¼¥à¥µ¡¼¥Ð¤ò¶µ¤¨¤ë¤À¤±¤Ç¤è¤¤¡×.
DNS ¤Î»ÅÁȤߤ«¤é¤¤¤Ã¤Æ¡¤¡Ö狼°ì¿Í¤ÏºÆµ¢ÅªÌ䤤¹ç¤ï¤»¤ËÅú¤¨¤Æ¶ìÏ«¤·¤Ê¤¤¤È¤¤¤±¤Ê¤¤¡×¤Î¤Ç¡¤Ã¯¤¬¤½¤¦¤¹¤ë¤«¤¬¥Ý¥¤¥ó¥È¤È¤Ê¤ë.
Ä̾ï¤Ï¡¤DNS ³¬ÁؤΤʤë¤Ù¤¯²¼¤Ëµï¤ÆºÆµ¢ÅªÌ䤤¹ç¤ï¤»¤ò½èÍý¤Ç¤¤ëǽÎϤΤ¢¤ë¥½¥Õ¥È¥¦¥§¥¢¤¬¡¤¤Ä¤Þ¤ê¤¿¤¤¤Æ¤¤¤Ï LAN ¾å¤Î DNS Server ¤Ê¤É¤¬¹Ô¤¦¤³¤È¤Ë¤Ê¤ë.
** DNS ¤«¤éÆÀ¤é¤ì¤ë¾ðÊó [#oc094b9b]
´ðËÜŪ¤Ë¤Ï¡¤DNS ¤Ç(ľÀܤË)ÆÀ¤é¤ì¤ë¾ðÊó¤Ï
| ¥Û¥¹¥È̾¤ò¼ê¤¬¤«¤ê¤È¤·¤¿¾ì¹ç¤Ï | ¤½¤Î¥Û¥¹¥È¤Î IP ¥¢¥É¥ì¥¹¤ä¡¤¥á¡¼¥ë¤Î°¸Àè¥Û¥¹¥È(¥á¡¼¥ë¥µ¡¼¥Ð), ¥Û¥¹¥È̾¤¬ÊÌ̾¤À¤Ã¤¿¾ì¹ç¤ÏÀµ½à̾(canonical name), Åù |
| IP Address ¤ò¼ê¤¬¤«¤ê¤È¤·¤¿¾ì¹ç¤Ï | ¤½¤Î¥Û¥¹¥È̾ |
¤È¤¤¤¦¤³¤È¤Ë¤Ê¤ë.
¤â¤Á¤í¤ó¡¤DNS ¤ËÌ䤤¹ç¤ï¤»¤ë²áÄø¤Ç´ÖÀÜŪ¤Ë¤Ï¤è¤ê¹¤¤¾ðÊó(Î㤨¤Ð¤½¤Î¥Û¥¹¥È¤Î¾ðÊó¤ò»ý¤Ã¤Æ¤¤¤ë¥Í¡¼¥à¥µ¡¼¥Ð¤Ï¤É¤ì¤«¤Ê¤É)¤¬ÆÀ¤é¤ì¤ë.
¤³¤³¤Ç¡¤¾å¤Î¡ÖÆÀ¤é¤ì¤ë¾ðÊó¡×¤Ë¤Ä¤¤¤Æ¤â¤¦¾¯¤·¾ðÊó¤òµ¤·¤Æ¤ª¤³¤¦.
¶ñÂÎŪ¤Ë¤Ï¡¤¼¡¤Î¡Ö¥ì¥³¡¼¥É̾¡×¤Ç¤¢¤ë. ¤³¤ì¤Ï¡¤DNS ¤Ç¤ÎÌ䤤¹ç¤ï¤»¤ÎºÝ¤Ë¡¤¡Ö¤½¤Î¾ðÊ󤬲¿¤Ê¤Î¤«¡×¤ò»Ø¤¹½ÅÍפʥ¿¥°¤Ç¤¢¤ë.
| ¥ì¥³¡¼¥É̾ | ²òÀâ |h
| &color(red){SOA}; | ¤½¤Î¾ðÊó¤ÎÀÕǤ¸µ¤Î¾ðÊó. Start of Authority. ÀÕǤ¸µ¥µ¡¼¥Ð̾¡¤´ÉÍý¼Ô¥á¡¼¥ë¥¢¥É¥ì¥¹¡¤¥Ç¡¼¥¿¥·¥ê¥¢¥ë¥Ê¥ó¥Ð¡¼, ¼ï¡¹¤Î͸ú´ü¸ÂŤ«¤é¤Ê¤ë. |
| A | IP Address |
| AAAA | IP Address(IPv6) |
| NS | ¥Í¡¼¥à¥µ¡¼¥Ð |
| CNAME | ¤½¤Î¥Û¥¹¥È¤ÎÀµ½à̾(¢â¿¿¤Î̾Á°) |
| MX | ¤½¤Î¥¢¥É¥ì¥¹°¸¤Ë¥á¡¼¥ë¤¬Í褿¤é¤É¤Î¥á¡¼¥ë¥µ¡¼¥Ð¤ØÁ÷¤ë¤Ù¤¤«. Í¥Àè½ç°ÌÈÖ¹æ¤Ä¤. |
| PTR | ¥Û¥¹¥È̾ |
&ref(./warning.png); ¸«Æ¨¤·¤¬¤Á¤À¤¬¡¤¾å¤Î SOA ¤Ï¡ÖÆÀ¤é¤ì¤¿¾ðÊ󤬤ɤ줯¤é¤¤¿®ÍѤǤ¤ë¤Î¤«¡×¤ò¹Í¤¨¤ëºÝ¤Ë½ÅÍפÀ(¤È¤¤¤¦¤Î¤â¡¤ÆÀ¤é¤ì¤¿¾ðÊóÃæ¤Ë SOA ¤¬Ìµ¤¤¾ì¹ç¤Ï¤½¤Î¾ðÊó¤Ï¥¢¥ä¥Õ¥ä¤Ê²ÄǽÀ¤¬¤½¤³¤½¤³¤¢¤ë¤«¤é¤Ç¤¢¤ë).
¤¢¤È¡¤DNS ¤Ë¤Ï»þ¡¹ "IN" ¤È¤¤¤¦¥¡¼¥ï¡¼¥É¤¬½Ð¤Æ¤¯¤ë¤¬¡¤¤³¤ì¤Ï Internet ¤È¤¤¤¦°ÕÌ£¤Ê¤Î¤Ç¤Þ¤¢µ¤¤Ë¤·¤Ê¤¯¤Æ¤è¤¤.
** Àµ°ú¤ [#n93ee15d]
¥Û¥¹¥È̾¤«¤é IP Address ¤ä¾¤Î¾ðÊó¤òÃΤ뤿¤á¤Ë DNS Server ¤ËÌ䤤¹ç¤ï¤»¤ë¤³¤È¤òÀµ°ú¤¤È¤¤¤¦.
Àµ°ú¤¤Ç¤¤Ê¤¤¥Û¥¹¥È¤È¤¤¤¦¤Î¤Ï¥¤¥ó¥¿¡¼¥Í¥Ã¥È¾å¤Ç¤Ï(°ì±þ)¤¢¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤.
** µÕ°ú¤ [#ae8a1188]
µÕ¤Ë¡¤IP Address ¤«¤é¥Û¥¹¥È̾¤ä¾¤Î¾ðÊó¤òÃÎ¤í¤¦¤È¤¹¤ëÌ䤤¹ç¤ï¤»¤òµÕ°ú¤¤È¤¤¤¦.
¤Á¤Ê¤ß¤Ë¡¤µÕ°ú¤¤Ïɬ¤º½ÐÍè¤Ê¤±¤ì¤Ð¤¤¤±¤Ê¤¤¤Ï¤Èµ¬Äꤵ¤ì¤Æ¤¤¤Ê¤¤.
¤Ä¤Þ¤ê¡¤µÕ°ú¤½ÐÍè¤Ê¤¤ IP Address ¤¬¤¢¤Ã¤Æ¤â DNS ¤Î¥ë¡¼¥ë¾å¤ÏÌäÂê¤Ê¤¤.
¤¿¤À¡¤
- ¥Í¥Ã¥È¥ï¡¼¥¯¾å¤Ç¤½¤ì¤Ê¤ê¤Ë¤¤Á¤ó¤È¤·¤¿¥µ¡¼¥ÐÅù¤Ï¤Û¤È¤ó¤ÉµÕ°ú¤¤ò¤¤Á¤ó¤ÈÀßÄꤷ¤Æ¤¤¤ë
- µÕ°ú¤½ÐÍè¤Ê¤¤¥Û¥¹¥È¤ËÂФ·¤Æ¤Ï¢þ¢þ¤Î¥µ¡¼¥Ó¥¹¤ò¤·¤Ê¤¤¡¤¤È¤¤¤¦ÀßÄê¤Î¥µ¡¼¥Ð¤¬·ë¹½¤¢¤ë
- Àµ°ú¤¤ÈµÕ°ú¤¤Î·ë²Ì¤¬À°¹ç¤·¤Ê¤¤¤È¤¤¤±¤Ê¤¤¡¤¤È¤¤¤¦¤µ¤é¤Ë¸·¤·¤¤ÀßÄê¤Î¥µ¡¼¥Ð¤â·ë¹½¤¢¤ë
- ƱÍͤΥÁ¥§¥Ã¥¯¤ò¥Ñ¥¹¤·¤Ê¤¤¤ÈÆ°¤«¤Ê¤¤¥³¥Þ¥ó¥É¤â¤¢¤ë
¤Ê¤É¤Ê¤É¡¤µÕ°ú¤¤ò¤¤Á¤ó¤ÈÀßÄꤷ¤Ê¤¤¤Èº¤¤ë¾ìÌ̤⤢¤ë¤Î¤Ç¡¤µÕ°ú¤¤Ç¤¤Ê¤¤¾õ¶·¤ÏÈò¤±¤Æ¤ª¤¤¿¤¤.
//
//
//
* ¥æ¡¼¥¶¤È¤·¤Æ DNS ¤ò»È¤Ã¤Æ¤ß¤ë [#h71c7240]
* ¥æ¡¼¥¶¤È¤·¤Æ DNS ¤ò»È¤Ã¤Æ¤ß¤ë [#z86fdc98]
** DNS ¤Î¾õÂÖÅù¤òÃΤë¥Ä¡¼¥ë(1) host [#jda443ea]
¥µ¡¼¥Ð¤ÎÀßÄê°ÊÁ°¤Ë¡¤DNS ¾ðÊó¤òÃΤëÊýË¡¤ò°ìÈÌŪ¤ËÃΤäƤª¤³¤¦.
¤¢¤Þ¤êÃΤé¤ì¤Æ¤¤¤Ê¤¤¤è¤¦¤Ë»×¤¦¤¬¡¤"host" ¥³¥Þ¥ó¥É¤¬Àµ°ú¤¡¤µÕ°ú¤¤È¤â¤ËÊØÍø¤Ë»È¤¨¤ë.
Î㤨¤Ð
host www.osaka-u.ac.jp
¤È¤¹¤ë¤È(Àµ°ú¤)
> www.osaka-u.ac.jp has address 133.1.8.18
¤ÈÅú¤¨ "133.1.8.18" ¤¬Ê֤äƤ¯¤ë¤·,
host 133.1.8.18
¤È¤¹¤ë¤È(µÕ°ú¤)
> 18.8.1.133.in-addr.arpa domain name pointer www.osaka-u.ac.jp.
¤ÈÅú¤¨ "www.osaka-u.ac.jp." ¤¬Ê֤äƤ¯¤ë.
&ref(./warning.png); host ¥³¥Þ¥ó¥É¤ÏΧµ·¤Ë¤âºÇ¸å¤Ë¥É¥Ã¥È¤ò¤Ä¤±¤Æɽ¼¨¤·¤Æ¤¤¤ë¤³¤È¤ËÃí°Õ!
¾åµ¤Î¤è¤¦¤Ë¡¤¥ª¥×¥·¥ç¥ó̵¤·¤À¤È host ¥³¥Þ¥ó¥É¤Ï¤½¤Ã¤±¤Ê¤¤¤¬¡¤"-v" ¥ª¥×¥·¥ç¥ó¤ò¤Ä¤±¤ë¤È¤¤¤í¤¤¤í¤È¾ðÊó¤ò½ÐÎϤ·¤Æ¤¯¤ì¤ë.
Î㤨¤Ð¡¤
host -v www.osaka-u.ac.jp
¤È¤¹¤ë¤È, ¼¡¤Î¤è¤¦¤Ê½ÐÎϤ¬ÆÀ¤é¤ì¤ë(·ë²ÌŪ¤Ë A, AAAA, MX ¥ì¥³¡¼¥É¤Ë¤Ä¤¤¤Æ¿Ò¤Í¤Æ¤¤¤ë).
> Trying "www.osaka-u.ac.jp"
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58110
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 1
> &br;
> ;; QUESTION SECTION:
> ;www.osaka-u.ac.jp. IN A
> &br;
> ;; ANSWER SECTION:
> www.osaka-u.ac.jp. 259200 IN A 133.1.8.18
> &br;
> ;; AUTHORITY SECTION:
> osaka-u.ac.jp. 259200 IN NS sigw.sinet.ad.jp.
> osaka-u.ac.jp. 259200 IN NS b.osaka-u.ac.jp.
> osaka-u.ac.jp. 259200 IN NS a.osaka-u.ac.jp.
> &br;
> ;; ADDITIONAL SECTION:
> sigw.sinet.ad.jp. 36369 IN A 150.100.2.2
> &br;
> Received 127 bytes from 127.0.0.1#53 in 5 ms
> Trying "www.osaka-u.ac.jp"
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33999
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
> &br;
> ;; QUESTION SECTION:
> ;www.osaka-u.ac.jp. IN AAAA
> &br;
> ;; AUTHORITY SECTION:
> osaka-u.ac.jp. 10800 IN SOA a.osaka-u.ac.jp. root.odins.osaka-u.ac.jp. 2008121800 10800 1800 3600000 259200
> &br;
> Received 84 bytes from 127.0.0.1#53 in 2 ms
> Trying "www.osaka-u.ac.jp"
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16460
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
> &br;
> ;; QUESTION SECTION:
> ;www.osaka-u.ac.jp. IN MX
> &br;
> ;; AUTHORITY SECTION:
> osaka-u.ac.jp. 10800 IN SOA a.osaka-u.ac.jp. root.odins.osaka-u.ac.jp. 2008121800 10800 1800 3600000 259200
> &br;
> Received 84 bytes from 127.0.0.1#53 in 2 ms
¤Á¤Ê¤ß¤Ë¡¤DNS Ì䤤¹ç¤ï¤»·ë²Ìɽ¼¨¤ÎÃæ¤Ç¡¤"IN" ¤ÎÁ°¤Ë¤·¤Ð¤·¤Ð¿ô¥±¥¿¤Î¿ô»ú¤¬½Ð¤Æ¤¯¤ë¤¬¡¤¤½¤Î¿ô»ú¤Ï¤½¤Î¾ðÊó¤Î»Ä¤ê͸ú´ü¸Â(ÉÃñ°Ì)¡¤¤¤¤ï¤Ð¾ÞÌ£´ü¸Â¤Ç¤¢¤ë.
¾¤Ë¤â¡¤·ë¹½Â¿Íͤʥª¥×¥·¥ç¥ó¤¬¤¢¤ë¤Î¤Ç¡¤"man host" ¤È¤·¤ÆÄ´¤Ù¤Æ¤ª¤¯¤È¤è¤¤.
&ref(./notes.png); ¤Þ¤º¤Ï¾å¤ÈƱ¤¸¤è¤¦¤Ë¤·¤Æ host ¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æ¤ß¤è¤¦.
¤Þ¤¿¡¤-v ¥ª¥×¥·¥ç¥ó¤ÎÂå¤ï¤ê¤Ë -a ¤ò»È¤Ã¤Æ¤ß¤è¤¦.
¤Þ¤¿¡¤Å¬Åö¤Ê¥Û¥¹¥È̾¤ËÂФ·¤Æ "host -v" ¤ÇÄ´¤Ù¤¿·ë²Ì¤ò¡¤¤³¤ì¤Þ¤Ç¤ÎÃ챤ò¸µ¤Ë²ò¼á¤·¤Æ¤ß¤è.
** DNS ¤Î¾õÂÖÅù¤òÃΤë¥Ä¡¼¥ë(2) dig [#ec4ab47e]
¶áǯ¤Ç¤Ï¡¤DNS Ì䤤¹ç¤ï¤»¤ò¼ê¤Ç¹Ô¤¦¥³¥Þ¥ó¥É¤È¤·¤Æ¤Ï "dig" ¤¬°ìÈÌŪ¤Ç¤¢¤ë.
»È¤¤Êý¤Ï host ¤Ë»÷¤Æ¤¤¤ë¤¬¤è¤êºÙ¤«¤¤((¤È¤¤¤¦¤«ºÙ¤«¤¹¤®¤ë))»ØÄ꤬²Äǽ¤À.
¾Ü¤·¤¯¤Ï "man dig" ¤È "dig -h" ¤ÇÄ´¤Ù¤Æ¤â¤é¤¦¤È¤·¤Æ¡¤Â礶¤Ã¤Ñ¤Ë¤Ï¼¡¤Î¤è¤¦¤Ë¤Ä¤«¤¦.
&ref(./warning.png); "jman dig" ¤È¤Ï¤·¤Ê¤¤¤³¤È! ¤Ê¤¼¤«ÃΤé¤Ê¤¤¤¬¡¤dig ¤Ë´Ø¤¹¤ëÆüËܸì¥Þ¥Ë¥å¥¢¥ë¤ÏÁêÅö¤Ë¸Å¤¯¡¤¥ª¥×¥·¥ç¥óÅù¤¬º£¤Î¤â¤Î¤ÈÁ´¤¯°Û¤Ê¤ë¤Î¤À(Á´ÂΤËÆüËܸì¥Þ¥Ë¥å¥¢¥ë¤Ï¸Å¤á¤Ç¤Ï¤¢¤ë¤¬¡¤dig ¤ÏÆä˸Ť¤).
&ref(./warning.png); "jman dig" ¤È¤Ï¤·¤Ê¤¤¤³¤È! ¤Ê¤¼¤«ÃΤé¤Ê¤¤¤¬¡¤dig ¤Ë´Ø¤¹¤ëÆüËܸì¥Þ¥Ë¥å¥¢¥ë¤ÏÁêÅö¤Ë¸Å¤¯¡¤¥ª¥×¥·¥ç¥óÅù¤¬º£¤Î¤â¤Î¤ÈÁ´¤¯°Û¤Ê¤ë¤Î¤À(Á´ÂΤËÆüËܸì¥Þ¥Ë¥å¥¢¥ë¤Ï¸Å¤á¤Ç¤Ï¤¢¤ë¤¬¡¤dig ¤Î¤½¤ì¤ÏÆä˸Ť¤).
&br;
Ä̾ï¤Îñ¤Ê¤ëÀµ°ú¤¤Ï
dig www.osaka-u.ac.jp
¤Ç¤è¤¤.
ñ¤Ê¤ëµÕ°ú¤¤Ï "-x" ¥ª¥×¥·¥ç¥ó¤òÍѤ¤¤Æ
dig -x 133.1.8.18
¤È¤¹¤ë.
Ì䤤¹ç¤ï¤»¤Ë»È¤¦ DNS server ¤ò»ØÄꤷ¤¿¤¤¤È¤¤Ï¡¤@¤½¤Î¥µ¡¼¥Ð ¤È¤¤¤¦Ê¸»úÎó¤ò¥ª¥×¥·¥ç¥ó¤È¤·¤Æ²Ã¤¨¤ë.
Î㤨¤Ð¡¤¾å¤Î·ë²Ì¤«¤é www.osaka-u.ac.jp ¤Î¾ðÊó¤ÎÀÕǤ¸µ¤Ç¤¢¤ë DNS Server ¤Ï a.osaka-u.ac.jp ¤Ç¤¢¤ë¤³¤È¤¬Ê¬¤«¤ë¤Î¤Ç((ɬ¤º¤ï¤«¤ë¤È¤Ï¸Â¤é¤Ê¤¤)),¤³¤Î¥µ¡¼¥Ð¤Ë²¿¤«¿Ò¤Í¤Æ¤ß¤ë.
dig @a.osaka-u.ac.jp www.osaka-u.ac.jp
¤È¤¹¤ë¤È¡¤
> ; <<>> DiG 9.3.5-P1 <<>> @a.osaka-u.ac.jp www.osaka-u.ac.jp
> ; (1 server found)
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, &color(red){status: NOERROR};, id: 41778
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 2
> &br;
> ;; QUESTION SECTION:
> ;www.osaka-u.ac.jp. IN A
> &br;
> ;; ANSWER SECTION:
> www.osaka-u.ac.jp. 259200 IN A 133.1.8.18
> &br;
> ;; AUTHORITY SECTION:
> osaka-u.ac.jp. 259200 IN NS sigw.sinet.ad.jp.
> osaka-u.ac.jp. 259200 IN NS b.osaka-u.ac.jp.
> osaka-u.ac.jp. 259200 IN NS a.osaka-u.ac.jp.
> &br;
> ;; ADDITIONAL SECTION:
> a.osaka-u.ac.jp. 259200 IN A 133.1.192.3
> b.osaka-u.ac.jp. 259200 IN A 133.1.119.3
> &br;
> ;; Query time: 11 msec
> ;; SERVER: 133.1.192.3#53(133.1.192.3)
> ;; WHEN: Wed Jan 7 17:01:07 2009
> ;; MSG SIZE rcvd: 143
¤È¤Ê¤ê¡¤¼«Ê¬¤¬ÀÕǤ¼Ô¤Ç¤¢¤ë¾ðÊó¤Ë¤Ä¤¤¤Æ¤ÏÁÇľ¤Ë¶µ¤¨¤Æ¤¯¤ì¤ë¤³¤È¤¬Ê¬¤«¤ë(status ¤ËÃíÌܤ»¤è).
&br;
¤Ç¤Ï¡¤¾¯¤·Ä´»Ò¤Ë¤Î¤Ã¤Æ¤³¤Î¥Í¡¼¥à¥µ¡¼¥Ð¤Ë¾¤ÎÌ䤤¹ç¤ï¤»¤ò¤·¤Æ¤ß¤è¤¦.
Î㤨¤Ð¡¤
dig @a.osaka-u.ac.jp www.yahoo.co.jp
¤È¤·¤Æ¤ß¤ë. ¤¹¤ë¤È¡¤
> ; <<>> DiG 9.3.5-P1 <<>> @a.osaka-u.ac.jp www.yahoo.co.jp
> ; (1 server found)
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, &color(red){status: REFUSED};, id: 8576
> ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
> &br;
> ;; QUESTION SECTION:
> ;www.yahoo.co.jp. IN A
> &br;
> ;; Query time: 1 msec
> ;; SERVER: 133.1.192.3#53(133.1.192.3)
> ;; WHEN: Wed Jan 7 17:02:33 2009
> ;; MSG SIZE rcvd: 33
¤È¤Ê¤ê("ANSWER SECTION" ¤¬Ìµ¤¤¤³¤È¡¤status ¤¬ "REFUSED" ¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤³¤È¡¤¤Ê¤É¤ËÃíÌܤ»¤è)¡¤¡Ö¤½¤Î¾ðÊó¤ÏËÍ¤Î´É³í¤¸¤ã¤Ê¤¤¤è¡×¤È¤¤¤¦ÊÖÅú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤³¤È¤¬Ê¬¤«¤ë.
&br;
¤Á¤Ê¤ß¤Ë¡¤DNS Server ¤¬¤É¤¦¤¤¤¦ÆâÍƤˤɤ¦ÊÖÅú¤·¤Æ¤¯¤ì¤ë¤«¤ÏÌ䤤¹ç¤ï¤»ÆâÍƤȤ½¤Î¥µ¡¼¥Ð¤ÎÀßÄê¤ÈÌ䤤¹ç¤ï¤»¤ë¿Í¤Î´Ø·¸¤Ë°Í¸¤¹¤ë.
¾Ü¤·¤¯¤Ï DNS Server ¤ÎÀßÄê¤ò¹Ô¤¦¤ÈÍý²ò¤Ç¤¤ë¤Î¤Ç¡¤¤½¤³¤Þ¤ÇÂԤȤ¦.
&br;
¤µ¤Æ¡¤dig ¤Ï +trace ¤È¤¤¤¦¥ª¥×¥·¥ç¥ó¤ò¤Ä¤±¤ë¤ÈÀ¸¿¿ÌÌÌܤ˼«Ê¬¤¬ºÆµ¢ÅªÆ°ºî¤ò¹Ô¤¦¤Î¤Ç¡¤DNS ¤Î»ÅÁȤߤòÃΤë¤Î¤ËÅԹ礬¤è¤¤.
¤â¤¦¾¯¤·¾Ü¤·¤¯½ñ¤¯¤È¡¤¤³¤Î¥ª¥×¥·¥ç¥óÉÕ¤¤Ç¤Î dig ¤Ï¡¤Ì䤤¹ç¤ï¤»À襵¡¼¥Ð¤Ë¡ÖÈóºÆµ¢Åª¤ËÅú¤¨¤Æ¤Í¡×¤ÈÍê¤à(¤Ä¤Þ¤ê¡¤Ì䤤¹ç¤ï¤»¤ò´ÝÅꤲ¤·¤Ê¤¤).
&ref(./warning.png); µÕ¤Ë¸À¤¨¤Ð¡¤Ä̾ï¤Î dig ¥³¥Þ¥ó¥É¤Ï¼ÁÌä¤òºÇ´ó¤ê¤Î DNS Server¤Ë¡Ö´ÝÅꤲ¡×¤·¤Æ¤¤¤ë¤À¤±¤Ç¡¤¼«Ê¬¤Ï²¿¤â¶ìÏ«¤·¤Æ¤¤¤Ê¤¤¤Î¤À.
&br;
¤Ä¤Þ¤ê¡¤+trace ¤Ä¤¤Ç dig ¥³¥Þ¥ó¥É¤ò»È¤Ã¤¿¤È¤¤Ï¡¤³Æ¡¹¤Î¥µ¡¼¥Ð¤Ïñ¤Ë¼ê»ý¤Á¤ÎÃμ±¤ÇºÇ¤â¥Þ¥·¤ÊÅú¤¨¤òÊÖ¤·¤Æ¤¯¤ë¤Î¤Ç¡¤¤½¤Î²ò¼á¤È¤Ä¤Ê¤®¤¢¤ï¤»¤Ï dig ¼«¿È¤¬¹Ô¤¦¤Î¤Ç¤¢¤ë.
Î㤨¤Ð¡¤
dig +trace www.osaka-u.ac.jp
¤È¤¹¤ë¤È¡¤
> ; <<>> DiG 9.3.5-P1 <<>> +trace www.osaka-u.ac.jp
> ;; global options: printcmd
> . 496121 IN NS J.ROOT-SERVERS.NET.
> . 496121 IN NS G.ROOT-SERVERS.NET.
> . 496121 IN NS K.ROOT-SERVERS.NET.
> . 496121 IN NS E.ROOT-SERVERS.NET.
> . 496121 IN NS H.ROOT-SERVERS.NET.
> . 496121 IN NS A.ROOT-SERVERS.NET.
> . 496121 IN NS C.ROOT-SERVERS.NET.
> . 496121 IN NS D.ROOT-SERVERS.NET.
> . 496121 IN NS M.ROOT-SERVERS.NET.
> . 496121 IN NS B.ROOT-SERVERS.NET.
> . 496121 IN NS F.ROOT-SERVERS.NET.
> . 496121 IN NS L.ROOT-SERVERS.NET.
> . 496121 IN NS I.ROOT-SERVERS.NET.
> ;; Received 504 bytes from 127.0.0.1#53(127.0.0.1) in 0 ms
> &br;
> jp. 172800 IN NS C.DNS.jp.
> jp. 172800 IN NS D.DNS.jp.
> jp. 172800 IN NS E.DNS.jp.
> jp. 172800 IN NS F.DNS.jp.
> jp. 172800 IN NS G.DNS.jp.
> jp. 172800 IN NS A.DNS.jp.
> jp. 172800 IN NS B.DNS.jp.
> ;; Received 431 bytes from 192.58.128.30#53(J.ROOT-SERVERS.NET) in 64 ms
> &br;
> osaka-u.ac.jp. 86400 IN NS sigw.sinet.ad.jp.
> osaka-u.ac.jp. 86400 IN NS b.osaka-u.ac.jp.
> osaka-u.ac.jp. 86400 IN NS a.osaka-u.ac.jp.
> ;; Received 127 bytes from 204.74.112.245#53(C.DNS.jp) in 126 ms
> &br;
> www.osaka-u.ac.jp. 259200 IN A 133.1.8.18
> osaka-u.ac.jp. 259200 IN NS a.osaka-u.ac.jp.
> osaka-u.ac.jp. 259200 IN NS b.osaka-u.ac.jp.
> osaka-u.ac.jp. 259200 IN NS sigw.sinet.ad.jp.
> ;; Received 159 bytes from 150.100.2.2#53(sigw.sinet.ad.jp) in 15 ms
¤Ê¤É¤Î¤è¤¦¤ÊÊÖÅú¤¬Ê֤äƤ¯¤ë.
¤³¤ì¤ò¤ß¤ë¤È¡¤
+ ¼«Ê¬¼«¿È(127.0.0.1)¤Ø¤ÎÌ䤤¹ç¤ï¤»¤Î·ë²Ì¤È¤·¤Æ¤Þ¤º "."(¥ë¡¼¥È¥É¥á¥¤¥ó)ôÅö¤Î NS
¤¬ 13Â椢¤ë¤³¤È¤òÃΤë(¥Õ¥ë¥µ¡¼¥Ó¥¹¥ê¥¾¥ë¥Ð¤È¸Æ¤Ð¤ì¤ë¥ê¥¾¥ë¥Ð¤Ï¡¤¤¿¤¤¤Æ¤¤ºÇ½é¤«¤é¤³¤Î 13Âæ¤òÃΤäƤ¤¤ë).
+ ¤½¤Î 13Âæ¤ÎÃæ¤Î J.ROOT-SERVICE.NET ¤Ë "jp." ôÅö¤Î NS ¤¬ 7Â椢¤ë¤È¶µ¤¨¤Æ¤â¤é¤Ã¤Æ¡¤
+ ¤½¤Î 7Âæ¤ÎÃæ¤Î C.DNS.JP ¤Ë "osaka-u.ac.jp." ôÅö¤Î NS ¤¬ 3Â椢¤ë¤È¶µ¤¨¤Æ¤â¤é¤Ã¤Æ¡¤
+ ¤½¤Î 3Âæ¤ÎÃæ¤Î sigw.sinet.ad.jp ¤Ë www.osaka-u.ac.jp. ¤Î¥¢¥É¥ì¥¹¤ò¶µ¤¨¤Æ¤â¤é¤Ã¤¿
¤È¤¤¤¦Î®¤ì¤Ç¸¡º÷¤·¤¿¤³¤È¤¬¤è¤¯Ê¬¤«¤ë.
¤¿¤À¤·¡¤Ä̾ï¤Ï¡¤¤Ê¤ë¤Ù¤¯¥Í¥Ã¥È¥ï¡¼¥¯¾å¤òή¤ì¤ë¾ðÊ󤬾¯¤Ê¤¯¤ÆºÑ¤à¤è¤¦¤Ë¥¥ã¥Ã¥·¥å¤Ê¤É¤ÎÍÍ¡¹¤Ê¹©Éפ¬ÍѤ¤¤é¤ì¤Æ¤¤¤ë¤Î¤Ç¡¤¤³¤Î¤è¤¦¤ËÇϼ¯ÀµÄ¾¤ËÌ䤤¹ç¤ï¤»¤¬¿Ê¤à¤ï¤±¤Ç¤Ï¤Ê¤¤.
*** ¥ë¡¼¥È¥µ¡¼¥Ð¤Î½ÅÍ×À¤È¥»¥¥å¥ê¥Æ¥£ [#k69fe45e]
*** ¥ë¡¼¥È¥µ¡¼¥Ð¤Î½ÅÍ×À¤È¥»¥¥å¥ê¥Æ¥£ [#r2edd16e]
¤³¤³¤Ç¡¤¾å¤Ë½Ð¤Æ¤¤¿¥ë¡¼¥È¥É¥á¥¤¥óôÅö¤Î DNS¥µ¡¼¥Ð(¥ë¡¼¥È¥µ¡¼¥Ð¤È¸Æ¤Ð¤ì¤ë)¤Ë¤Ä¤¤¤Æµ½Ò¤·¤Æ¤ª¤³¤¦.
¤³¤Î¥ë¡¼¥È¥µ¡¼¥Ð¤Ï¡¤DNS ¤ÎÁí¸µÄù¤Ç¤¢¤ë¤Î¤Ç¡¤¤³¤ì¤é¤¬¤¤Á¤ó¤Èµ¡Ç½¤·¤Ê¤¤¤È¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤½¤Î¤â¤Î¤¬¤¤Á¤ó¤Èµ¡Ç½¤·¤Ê¤¤. &color(red){"The Internet" ¤Î¡ÖÍס×};¤È¤¤¤Ã¤Æ¤è¤¤¤À¤í¤¦.
¤Þ¤¿µÕ¤Ë¸À¤¨¤Ð¡¤¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤Ø¤Î¹¶·â¼Ô¤«¤é¤ß¤ì¤Ð¥ë¡¼¥È¥É¥á¥¤¥ó¤³¤½¤¬¹¶·âÂоݤȤ·¤ÆºÇ¤â½ÅÍפʤâ¤Î¤Î°ì¤Ä¤È¤¤¤¦¤³¤È¤Ë¤Ê¤ë.
¤½¤Î¤¿¤á¡¤¤³¤ì¤Þ¤Ç¤Ë¤âÂ絬ÌϤγƼﹶ·â¤Ë¤¿¤Ó¤¿¤Ó¤µ¤é¤µ¤ì¤Æ¤¤¤ë.
¤·¤«¤·¡¤13Â椬À¤³¦³ÆÃϤ˻¶¤Ã¤Æ¤¤¤ë¤³¤È¤ä»ÈÍѤ¹¤ë¥½¥Õ¥È¥¦¥§¥¢¤ò¡Ö¤ï¤¶¤È°Û¤Ê¤ë¤â¤Î¤Ë¤·¤Æ¤¢¤ë¡×¤³¤È¤Ê¤É¤«¤é»ý¤Á´®¤¨¤Æ¤¤¿¤È¤¤¤¦Îò»Ë¤¬¤¢¤ë.
&ref(./notes.png); ¥ë¡¼¥È¥µ¡¼¥Ð¤ËÂФ¹¤ë¤³¤ì¤Þ¤Ç²Ã¤¨¤é¤ì¤¿¹¶·â¤ä¤½¤Î·Ð°Þ¤Ë¤Ä¤¤¤ÆÄ´¤Ù¤Æ¤ª¤³¤¦. ¥»¥¥å¥ê¥Æ¥£¤òÊݤĤ¿¤á¤Ë¤É¤¦¤¹¤ì¤Ð¤è¤¤¤«¤È¤¤¤¦Îɤ¤³Ø½¬»ñÎÁ¤Ë¤Ê¤ë¤Ï¤º¤À.
&br;
&ref(./warning.png); ¤Á¤Ê¤ß¤Ë¡¤¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤ò»Ù¤¨¤ë¥ë¡¼¥È¥É¥á¥¤¥óôÅö¥µ¡¼¥Ð 13((¡Ä¤È¤¤¤Ã¤Æ¤â¥Þ¥·¥ó¤¬13Âæ¤È¤¤¤¦¤ï¤±¤Ç¤Ï¤Ê¤¯¡¤³°¤«¤é¤Ï¤½¤¦¸«¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤È¤¤¤¦¤À¤±¤Ç¡¤¼ÂÂ֤Ϥâ¤Ã¤È¿¤¤))¤Î´ÉÍýµ¡´Ø¤¦¤Á¤ï¤±¤Ï¡¤¥¢¥á¥ê¥«¤¬ 10, ÆüËܤ¬ 1, ¥Î¥ë¥¦¥§¡¼¤¬ 1, ¥ª¥é¥ó¥À¤¬ 1 ¤Ç¤¢¤ë. http://www.root-servers.org/ ¤Ë¥ê¥¹¥È¤¬¤¢¤ë¤Î¤Ç¡¤µ¤¤Ë¤Ê¤ë¿Í¤Ï¸«¤Æ¤ß¤è¤¦.
** DNS ¤Î¾õÂÖÅù¤òÃΤë¥Ä¡¼¥ë(3) nslookup [#eec39afa]
dig ¤¬¹¤¯ÃΤé¤ì¤ëÁ°¤Ï¤è¤¯»È¤ï¤ì¤Æ¤¤¤¿¤Î¤¬¤³¤Î "nslookup" ¥³¥Þ¥ó¥É¤Ç¤¢¤ë.
¤¢¤ë¾ò·ï¤òËþ¤¿¤µ¤Ê¤¤Ì䤤¹ç¤ï¤»¤ò¤½¤â¤½¤â¼õ¤±ÉÕ¤±¤Ê¤¤¤³¤È¤ä¡¤¼ÂÁõ¤¬ÃæÅÓȾü¤Ç¤¢¤ë¤³¤È¤Ê¤É¤«¤é¡ÖÉå¤Ã¤Æ¤¤¤ë¡×¤È°¸ý¤ò¸À¤ï¤ì¤¿¤ê¤·¤Æ¤¢¤Þ¤ê»È¤ï¤ì¤Ê¤¯¤Ê¤Ã¤Æ¤¤Æ¤¤¤ë¤¬¡¤ÂÐÏå⡼¥É¤Î¤ªµ¤³Ú¤µÅù¤ò¹Í¤¨¤ë¤È¡¤¤Þ¤¢¡¤¤½¤³¤Þ¤Ç¤Ò¤É¤¤¥Ä¡¼¥ë¤Ç¤Ï¤Ê¤¤(^-^)
&ref(./notes.png); "man nslookup" ¤È¤·¤Æ nslookup ¤Î¥Þ¥Ë¥å¥¢¥ë¤òÆɤó¤Ç¤ß¤Æ¡¤¤Þ¤À¼ÂÁõ¤µ¤ì¤Æ¤¤¤Ê¤¤("not implemented")µ¡Ç½¤¬¤É¤ì¤¯¤é¤¤¤¢¤ë¤«³Îǧ¤·¤Æ¤ª¤³¤¦.
// ¤à¤·¤íÄ̾ï¥æ¡¼¥¶¤Ë¤È¤Ã¤Æ¤Î¼ÂÍѾå¤Î°ìÈ֤ηçÅÀ¤Ï¡¤(¸Å¤á¤Î nslookup ¤Ç¤Ï)µÕ°ú¤¤¬´Êñ¤Ë¤Ç¤¤Ê¤¤¤³¤È¤Ç¤¢¤í¤¦(ºÇ¶á¤Î nslookup ¤Ï host ¥³¥Þ¥ó¥É¤ÈƱ¤¸¤è¤¦¤Ë IP ¥¢¥É¥ì¥¹¤òÅϤ¹¤À¤±¤ÇµÕ°ú¤¤¬¤Ç¤¤ë¤è¤¦¤À.).
&ref(./notes.png); host, dig, nslookup ¤Ë¤Ä¤¤¤Æ¥Þ¥Ë¥å¥¢¥ë¤ÇÄ´¤Ù¤¿¸å¡¤¤¤¤¯¤Ä¤«¤Î¥Û¥¹¥È¤Ë¤Ä¤¤¤Æ¤³¤ì¤é¤Î¥³¥Þ¥ó¥É¤Ç(Àµ°ú¤¤Ç)¥ì¥³¡¼¥É A, MX ¤Ë¤Ä¤¤¤ÆÄ´¤Ù¤Æ¤ß¤è.
¤Þ¤¿¡¤¤ª¤è¤ÓÆÀ¤é¤ì¤¿ IP ¥¢¥É¥ì¥¹¤ò¸µ¤ËµÕ°ú¤¤ò¹Ô¤Ã¤Æ¤ß¤è.
¤Þ¤¿¡¤¼«Ê¬¤Î·ÈÂӤΥ᡼¥ë¥¢¥É¥ì¥¹¤Ë¥á¡¼¥ë¤ò½Ð¤¹¾ì¹ç¡¤¤½¤Î¥á¡¼¥ë¤ò¼õ¤±¼è¤ë¥µ¡¼¥Ð¤Ï¤É¤³¤«¤òÄ´¤Ù¤Æ¤ß¤è.
//
//
//
* DNS ¥µ¡¼¥Ð¤òºî¤Ã¤Æ¤ß¤ë(»öÁ°Ãμ±ÊÔ) [#zada5062]
¤µ¤Æ¡¤DNS server (¾¤Ë¤Ï¡¤¥Í¡¼¥à¥µ¡¼¥Ð¤È¤¤¤¦Ì¾Á°¤âÎɤ¯»È¤ï¤ì¤ë)¥½¥Õ¥È¥¦¥§¥¢¤Î¥¤¥ó¥¹¥È¡¼¥ë¡¤ÀßÄꡤ²ÔƯ¤Ë¤¢¤¿¤ê¡¤¤Þ¤º¤Ï¤¤¤¯¤Ä¤«Ãí°ÕÅÀ¤ò½ñ¤¤¤Æ¤ª¤³¤¦.
** DNS server ¤È¤·¤Æ²¿¤ò»È¤¦¤« [#f99f5f24]
DNS server ¥½¥Õ¥È¥¦¥§¥¢¤È¤·¤Æ¤Ï¼ç¤Ë BIND (Berkeley Internet Name Daemon) ¤È¤¤¤¦¤â¤Î¤¬»È¤ï¤ì¤ë.
¤â¤Á¤í¤óÀ¤¤ÎÃæ¤Ë¤Ï¾¤Î¥½¥Õ¥È¥¦¥§¥¢¤â¤¢¤ë¤¬¡¤BIND ¤ÎÍøÍÑΨ¤Ï¤ª¤è¤½ 90%¤¢¤ë¤È¸À¤ï¤ì¤ë¤Î¤Ç¡¤¤Þ¤º¤Ï BIND ¤«¤é¡¤¤È¤¤¤¦»ÑÀª¤Ç¤è¤í¤·¤«¤í¤¦.
¤³¤Î BIND ¤Ï¡¤BSD ͳÍè¤Î¥½¥Õ¥È¥¦¥§¥¢¤Ç¤¢¤ê¡¤FreeBSD ¤Ç¤Ï¥Ç¥Õ¥©¥ë¥È¤ÇÆþ¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¤¤Û¤ÜºÇ¿·¤Î FreeBSD ¤ò»È¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¢¤ì¤Ð¥¤¥ó¥¹¥È¡¼¥ëºî¶È¤ÏÆäËÉÔÍפǤ¢¤ë.
¤¿¤À¤·¡¤¸å½Ò¤¹¤ë¥»¥¥å¥ê¥Æ¥£¤ÎÌäÂ꤬¤¢¤ë¤Î¤Ç¡¤¤½¤Î»þÍøÍѤ·¤Æ¤¤¤ë BIND ¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤ÏÆä˵¤¤ò»È¤¦¤è¤¦¤Ë¤·¤è¤¦.
¤¢¤È¡¤º®Í𤷤¬¤Á¤Ç¤¢¤ë¤¬¡¤BIND ¤¬ºî¤ë¥³¥Þ¥ó¥É¤Ï named (̾Á°²ò·è¤Î¥Ç¡¼¥â¥ó¡¤¤È¤Ç¤â»×¤¨¤Ð¤è¤¤¤À¤í¤¦)¤È¤¤¤¦Ì¾Á°¤Ç¤¢¤ê¡¤¥Þ¥Ë¥å¥¢¥ë¤ä¥Ç¥£¥ì¥¯¥È¥ê̾¤Ï´ðËÜŪ¤Ë "named" ¤È¤¤¤¦Ì¾Á°¤¬»È¤ï¤ì¤ë¤Î¤ÇÃí°Õ¤·¤¿¤¤.
&ref(./notes.png); º£¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë BIND ¤Î¥Ð¡¼¥¸¥ç¥ó¤òÄ´¤Ù¤Æ¤ª¤³¤¦. º£¤Î¾õÂÖ¤À¤È¡¤¶ñÂÎŪ¤Ë¤Ï¡¤
named -v
¤È¤¹¤ì¤Ð¤è¤¤.
(FreeBSD 7.0 ¤Ë¤Ä¤¤¤Æ¤¯¤ë¤Î¤Ï 9.4.2 ¤Ç¤¢¤ë¤è¤¦¤À¤¬¡¤Ç°¤Î°Ù¤Ë³Îǧ¤·¤Æ¤ª¤³¤¦)
** BIND ÀßÄê¤Î¤¿¤á¤Î»ñÎÁ [#d1d8a1c4]
¤Ê¤Ë¤·¤í BIND ¤Ï¸Å¤¯¤«¤é¤¢¤ë¥½¥Õ¥È¥¦¥§¥¢¤Î¤¿¤á¡¤¿Ê²½¤·¤Æ¤¤¤ë¤È¤Ï¤¤¤Ã¤Æ¤â¤½¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤ÎÍͼ°¤ÏÎò»Ë¤Ë¤Ò¤¤º¤é¤ì¤¿µìÂÖ°ÍÁ³¤È¤·¤¿Éôʬ¤¬¤¢¤ê¡¤¤ä¤ä¤ï¤«¤ê¤Ë¤¯¤¤.
(¤È¤Ï¤¤¤Ã¤Æ¤â¡¤DNS ¤òÃΤäƤ¤¤µ¤¨¤¹¤ì¤ÐÀßÄê¥Õ¥¡¥¤¥ë¤òÆɤó¤ÇÍý²ò¤Ç¤¤ë¡Öµ¤¤Ë¤Ê¤ì¤ë¡×¤À¤± sendmail ¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤è¤ê¤ÏÍÚ¤«¤Ë¥Þ¥·¤Ç¤¢¤ë)
DNS ¤ËÂФ¹¤ëÍý²ò¤¬¤Ç¤¤Æ¤¤¤Ê¤¤¾õÂÖ¤ÇÀßÄê¥Õ¥¡¥¤¥ë¤òÆɤà¤È²¿¤¬¤Ê¤ó¤À¤«Ê¬¤«¤é¤Ê¤¤¤Î¤Ç¡¤¤½¤¦¤·¤¿Ãμ±¼èÆÀ¤â·ó¤Í¤Æ¤è¤¤»ñÎÁ¤ËÌܤòÄ̤¹¤³¤È¤ò¿ä¾©¤¹¤ë.
| ̾¾ÎÅù | È÷¹Í |h
| FreeBSD ¥·¥¹¥Æ¥à´ÉÍý¤È¥Á¥å¡¼¥Ë¥ó¥°(½ñÀÒ), page 341--374. | ¤¿¤Ã¤¿30¥Ú¡¼¥¸¤Ç DNS ¤Î¸¶Íý¤«¤é BIND ¤ÎÀßÄê¤Þ¤Ç¤ò¤¤Á¤ó¤È¤ï¤«¤ê¤ä¤¹¤¯µ½Ò¤·¤¿¤¢¤ê¤¬¤¿¤¤»ñÎÁ. BIND 8 ¤Ë¤Ä¤¤¤Æ¤Îµ½Ò¤Ê¤Î¤Ç¡¤ºÇ¸å¤ÎÊý¤Î°ìÉô¤Îµ½Ò¤¬¸Å¤¯¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤Æ¤¤¤ëÅÀ¤Î¤ß¤¬·çÅÀ¤È¸À¤¨¤Ð·çÅÀ. |
| FreeBSD ¥Ó¥®¥Ê¡¼¥º¥Ð¥¤¥Ö¥ë(²þÄûÂèÆóÈÇ)(½ñÀÒ), page 543--565. | ¤ï¤«¤ê¤Ë¤¯¤¤ÀßÄê¤ÎÂåɽ³Ê(^-^)¤Ç¤¢¤ëµÕ°ú¤°Ñ¾ù¤Î»ÅÁȤߤˤĤ¤¤Æ¾Ü¤·¤¯½ñ¤«¤ì¤Æ¤¤¤Æ¤¢¤ê¤¬¤¿¤¤. |
| BIND 9 ¤Ë¤è¤ë DNS ¥µ¡¼¥Ð¹½ÃÛ(½ñÀÒ) | ¤È¤Æ¤â¤ï¤«¤ê¤ä¤¹¤¯½ñ¤«¤ì¤Æ¤¤¤Æ¤è¤¤. Ëܵ¤¤Ç¤ª´«¤á. ¤¿¤À¡¤µÕ°ú¤¤Ë¤Ä¤¤¤Æ¤Ï¡Ö³ä°¦¡×¤µ¤ì¤Æ¤¤¤ë¤Î¤¬¤È¤Æ¤â¤È¤Æ¤â»ÄÇ°(¤³¤ó¤Ê¤Ëʬ¤«¤ê°×¤¯½ñ¤±¤ëÃø¼Ô¤Ë¤ÏÀ§Èó½ñ¤¤¤ÆÍߤ·¤«¤Ã¤¿) |
| DNS & BIND (½ñÀÒ) | ÄêÈÖÃæ¤ÎÄêÈÖ. ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤Ë·Ò¤¬¤Ã¤Æ¼ÂºÝ¤Ë¥Í¡¼¥à¥µ¡¼¥Ð¤È¤Ê¤ë¥µ¡¼¥Ð¤ò°·¤¦¤Ê¤é¤ÐÇã¤Ã¤Æ¤ª¤«¤Ê¤¤¤È¤¤¤±¤Ê¤¤¤À¤í¤¦.¤¿¤À¡¤¤Ñ¤Ã¤ÈÆɤó¤Ç¤¹¤°Íý²ò¤Ç¤¤ë¤È¤Ê¤É¤È¤Ï´üÂÔ¤·¤Æ¤Ï¤¤¤±¤Ê¤¤. |
** DNS server ¤È¥»¥¥å¥ê¥Æ¥£ [#i47c1234]
DNS server ¤È¤¤¤¦¤Î¤Ï¸ÅÍè¤è¤ê cracker ¤Î¼ç¤Ê¹¶·âÂоݤΰì¤Ä¤Ç¤¢¤ë¤¿¤á¡¤¤½¤Î¥»¥¥å¥ê¥Æ¥£¤Ë¤ÏÆä˵¤¤òÇۤꤿ¤¤.
¤Ê¤¼ÁÀ¤ï¤ì¤ë¤«¤È¤¤¤¦¤È¡¤°Ê²¼¤Î¤è¤¦¤ÊÍýͳ¤Ë¤è¤ë.
: (Íýͳ) | (²òÀâ)
: ¥Í¥Ã¥È¥ï¡¼¥¯¤Î¾ðÊó¤ò»ý¤Ã¤Æ¤¤¤ë | ¤¦¤Þ¤¯¤¹¤ì¤Ð DNS server ¤«¤é¥Í¥Ã¥È¥ï¡¼¥¯Á´ÂÎ/°ìÉô¤Ø¤Î¹¶·â¤Î¼ê¤¬¤«¤ê¤Ë¤Ê¤ë¾ðÊó¤òÆÀ¤é¤ì¤ë
: root ¸¢¸Â¤ÇÆ°ºî¤·¤Æ¤¤¤ë¤³¤È¤¬Â¿¤¤ | ¾è¤Ã¼è¤ì¤ì¤Ð¥·¥¹¥Æ¥à¤ÎÁ´¸¢¸Â¤ò°®¤ì¤ë¤·¡¤¾è¤Ã¼è¤ì¤Ê¤¯¤Æ¤â²¿¤«¤µ¤»¤ë¤³¤È¤¬¤Ç¤¤ë¤«¤â
: ¥Í¥Ã¥È¥ï¡¼¥¯¾ðÊó¤òÄ󶡤·¤Æ¤¤¤ë | server ¤¬¡Ö±³¤Î¾ðÊó¡×¤òή¤¹¤è¤¦¤ËÀßÄê¤Ç¤¤ì¤Ð¡¤º£Î®¹Ô¤ê¤ÎÍÍ¡¹¤Ê¹¶·âÊýË¡¤Ë»È¤¨¤ë (±³¤Î web ¤Ë¥¢¥¯¥»¥¹¤µ¤»¤Æ¥Ñ¥¹¥ï¡¼¥É¤òÃ¥¤¦¤È¤«¤Í)
¤â¤Á¤í¤ó¡¤DNS server ¥½¥Õ¥È¥¦¥§¥¢¤â(¤½¤ì¤òÍѤ¤¤ë OS ¦¤â)Âй³¤·¤Æ¿Ê²½¤·¤Æ¤ÏÍè¤Æ¤¤¤ë¤¬¡¤´ÉÍý¼Ô¤¬¥ß¥¹¤Ê¤¤¤·¤Ï´ª°ã¤¤¤ÇÀßÄê¤ò¡Ö´Ë¤¯¡×¤·¤Æ¤·¤Þ¤¨¤Ð¤½¤¦¤·¤¿»ÅÁȤߤâ°ÕÌ£¤¬¤Ê¤¯¤Ê¤ë.
¤Ç¤¢¤ë¤Î¤Ç¡¤DNS server ¤ÎÀßÄê¤Ë¤ÏÃí°Õ¤òʧ¤ª¤¦.
FreeBSD ¤Ç¤Ï¡¤¥»¥¥å¥ê¥Æ¥£¸þ¾å¤Î¤¿¤á¡¤BIND ¤Ë¤Ä¤¤¤Æ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¼¡¤Î¤è¤¦¤ÊÂкö¤¬»Ü¤µ¤ì¤Æ¤¤¤ë.
+ ÆÃÊ̤ʥ桼¥¶ bind ¤Î¸¢¸Â¤ÇÆ°ºî¤¹¤ë. root¸¢¸Â¤Ç¤Ï¤Ê¤¤.
+ /var/named ¤È¤¤¤¦¥Ç¥£¥ì¥¯¥È¥ê¤Î²¼¤Ë BIND Æ°ºî´Ä¶¤¬¡ÖÊĤ¸¹þ¤á¤é¤ì¤Æ¤¤¤ë¡×. ËÜÅö¤Ï /var/named ¤È¤¤¤¦¥Ç¥£¥ì¥¯¥È¥ê¤¬¡¤BIND ¤«¤é¸«¤¿¤é¡¤/ (¥ë¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê) ¤Ë¸«¤¨¤ë¤è¤¦¤Ê»Å³Ý¤±¤Ë¤Ê¤Ã¤Æ¤¤¤ë. ¤Ä¤Þ¤ê¡¤BIND ¤¬¤¹¤Ã¤«¤ê¾è¤Ã¼è¤é¤ì¤¿¤È¤·¤Æ¤â¡¤/var/named ¤è¤ê¾å¤Ë¤Ï½Ð¤é¤ì¤Ê¤¤.
&ref(./notes.png); DNS ¥µ¡¼¥Ð¤ÎÄ󶡤¹¤ë¥Í¥Ã¥È¥ï¡¼¥¯¾ðÊó¤ò¡Öµ¶Áõ¡×¤¹¤ë¤³¤È¤ÇÀ®¸ù¤¹¤ë¥Í¥Ã¥È¥ï¡¼¥¯¹¶·â¤Ë¤Ä¤¤¤ÆÄ´¤Ù¤Æ¤ß¤è.
/etc/namedb ¤È¤¤¤¦¥Ç¥£¥ì¥¯¥È¥ê¤¬¼ÂºÝ¤Ë¤Ï¤É¤³¤Ë¤¢¤ë¤«Ä´¤Ù¤è.
* ¥ì¥Ý¡¼¥È [#l9875a9f]
ÅÓÃæ¤Ç¡ÖÄ´¤Ù¤è¡×¤È»Ø¼¨¤µ¤ì¤¿»ö¹à¤Ë¤Ä¤¤¤ÆÄ´ºº¤ò¹Ô¤¤¡¤Êó¹ð¤»¤è.
¤Þ¤¿¡¤ËÜÆü¹Ô¤Ã¤¿ºî¶È¤Ë¤Ä¤¤¤ÆÊó¹ð¤»¤è.
¤â¤Á¤í¤ó³Æ¼«¤Î
+ ½ê°(³ØÉô¡¤³Ø²Ê)
+ ³ØÀÒÈÖ¹æ
+ ³Øǯ
+ »á̾
+ Æü»þ
+ ´Î¿´¤Î¥ì¥Ý¡¼¥ÈÆâÍÆ(ÆÀ¤¿Ãθ«¡¤ºî¶È¤Ë¤Ä¤¤¤Æµ¤¤Å¤¤¤¿¤³¤ÈÅù)
¤ò½ñ¤¯¤Î¤ò˺¤ì¤Ê¤¤¤è¤¦¤Ë.
* about Icons [#p90706c9]
Some icons in this page are downloadable at [[ICONFINDER:http://www.iconfinder.net/]].
The "note" icon &ref(./notes.png); designed by [[Marco Martin:http://www.notmart.org/]] is distributed with the LGPL licence
and the "warning" icon &ref(./warning.png); designed by [[Alexandre Moore:http://nuovext.pwsp.net/]] with the GPL licence.
Thank you Marco and Alexandre!
// &ref(./notes.png);
// &ref(./warning.png);