DNSã§ã®ã浸éãã¯å®¶é»ã®æèã«ãããããã¤ãã¹ã¤ãªã³ãã¨åããããªè¨èã ãã使ãã®ããããï¼
ãå¾ã¯ DNS ã®æµ¸éãå¾
ã¤ã ããã¨ãããèãã¾ããã DNS ã¨ããæè¡ã«ã浸éãã¨ããåèªã¯åå¨ãã¾ããã
ããã©ãããã以ä¸ã®ç¹ã«ããã¦ãç工系ã®äººéãªã誰ã§ãè¡å§ãä¸ããããã¤ãã¹ã¤ãªã³ãã¨åçã§ãããè¿ãã«ãã DNS ã¨ã³ã¸ãã¢ã®è¡å§ãä¸ããã®ã§ä½¿ãã®æ¢ãã¾ãããï¼*1
- å®ç¾©ãç¡ã
- æè¡çã«ããã³ãã©ããæºè¼
- å°é家ã§ã¯ãªã人ãã¡ãé°å²æ°ã§ä½¿ã£ã¦ãã
ãDNS ã¯ã¤ã³ãã©ããªãã¨ããããå¤å°ãªãã¨ã DNS ã§é£¯é£ã£ã¦ãã¨ã³ã¸ãã¢ã¯ä½¿ãã®ãæ¢ãããï¼
ã浸éãã®æ£ç¢ºãªå®ç¾©
DNS é¢é£ RFC ã®ã©ãã«ã浸éã¨ããåèªã¯åºã¦ããªãã§ããã浸éã¨ããåèªã®å®ç¾©ã«ã¤ãã¦ã¾ã¨ãã«è§£èª¬ãã¦ã Web ãã¼ã¸ããã£ããæãã¦ã»ããã§ãã
ãDNS 浸éãã§ããã£ã¦ãã ãã§è¡å§ä¸ãã£ã¦ãã¾ãããããããããï¼
å®ç¾©ããªãç¨èªãªã®ã§ã浸éãã使ãã®ã¯ããããï¼
ã浸éãã®å··ã§ã®å®ç¾©
å··ã§ããèãã浸éãã¨è¨ãåèªã¯ã以ä¸ã«æããè¤æ°ã®åé¡ãæ··åãã¦æ±ã£ã¦ããã®ã§æ害ã§ãã
ãã®æ··åãæ¢ã«è延ãã¦ãããã¨ãããDNS ã TTL ãã£ããã«åãæ¿ãããªããã¨ããã浸éãã¨å®ç¾©ããã°ãããããªããã¨ããèãã«ç§ãå¦å®çãªçç±ã§ãã
- ãã£ãã·ã¥ãªã¾ã«ãã«ããã TTL ã®ãã³ããªã³ã°ã¸ã®èª¤è§£*2
- TTL ãç¡è¦ãããã£ãã·ã¥ãªã¾ã«ã*3ãåå¨ããã¨èª¤è§£
- NS å¤æ´ã®æé ãã¹ã«æ°ãã¤ãã¦ããªã*4
- ã¢ããªã±ã¼ã·ã§ã³ã§ã® TTL ãç¡è¦ãã DNS ãã£ãã·ã¥*5
- ãã®ä»*6
ããã«ã以ä¸ã®ä¾ã®ããã«ã人ã«ãã£ã¦ã浸éãã®å®ç¾©ããºã¬ã¦ãã®ãããºããå éããã¦ããã¨æãã¾ãã*7
- ãã£ãã·ã¥ãªã¾ã«ãã«ããã TTL ã®ãã³ããªã³ã°ã¸ã®èª¤è§£
- DNS ãå°éã§ã¯ç¡ã人ãããæãè¾¼ãã§ãããã¨ãå¤ã
- TTL ãç¡è¦ãããã£ãã·ã¥ãªã¾ã«ããåå¨ããã¨èª¤è§£
- ã¡ãã£ã¨ããã£ã¦ã人ã¯ãããå¤ãã¨æãè¾¼ãã§ãããã¨ãå¤ã
- NS å¤æ´ã®æé ãã¹ã«æ°ãã¤ãã¦ããªãã»ãã®ä»ãªããã¹
- DNS ã«é¢ããé«åº¦ãªç¥èãæã£ã¦ã人ããä»ã®å¥´ã¯ããã浸éã ã¨åéããã¦ãããã¨æã£ã¦ãããã¨ãå¤ã
- ã¢ããªã±ã¼ã·ã§ã³ã§ã® TTL ãç¡è¦ãã DNS ãã£ãã·ã¥
- ã³ã³ãã³ããããã¤ãã®éç¨ã¨ã³ã¸ãã¢ããããæãã¦æµ¸éã¨è¨ãå ´åãå¤ã
åäºã¤ã®ä¸åå¼·ãªé£ä¸ã¯ããã¦ããã«ãã¦ããå¾ãäºã¤ã¯è«ç¹ãéãã©åé¡ç¹ã¨ãã¦ã¯æ£ããã®ã§ãè°è«ãããéãåå ã®ããã«è¦ãã¾ããããã«ãä¸ã§ã¯çç¥ãã¾ãããã DNS NOTIFY ãã³ã±ã¦ãã¨ãåæ§ã®ç¾è±¡ãå¼ãèµ·ãããªããã¹ã»èª¤è§£ã¯å±±ã»ã©ããã®ã§ãããããããã«è°è«ãçºæ£ããã¦ããã¾ãã
誤解ãæãã®ã§ã浸éãã¯ããããï¼
ãã¢ããªã±ã¼ã·ã§ã³ã§ã® TTL ãç¡è¦ãã DNS ãã£ãã·ã¥ããã浸éãã¨å¼ã¶ãã¨
ãDNS ã«ã¯æµ¸éã¨ããæ¦å¿µã¯åå¨ããªããã¨ãè¯ãèãã¾ãããå人çã«ã¯ãã®æè¦ã¯ééã£ã¦ããã¨æãã¾ãããTTL ãèæ ®ãã DNS ããã£ãã·ã¥ããã¢ããªã±ã¼ã·ã§ã³ã®åå¨ãã«ãããæ£ãã DNS ãªãã¬ã¼ã·ã§ã³ãè¡ã£ãã¨ãã¦ã TTL ãã£ããã«ãã©ãã£ãã¯ãåãæ¿ããããããããã¨æ¸ã£ã¦ããä¸çã«ãªã£ã¦ãã¾ãã¾ããã
ã¢ããªã±ã¼ã·ã§ã³ã§ç¡é ä½ã« DNS ããã£ãã·ã¥ããã®ã¯ããããï¼
ã¾ããæ£ãã A/AAAA ã¬ã³ã¼ããåãæ¿ããã®ã«å¤ã IP ã¢ãã¬ã¹ã¸ã¢ã¯ã»ã¹ãç¶ããã¨ããç¾è±¡ã«é ãæã¡ä»ããåæ°ãå¤ãã¨ã³ã¸ãã¢ã§ãã£ã¨ã人æ°ãå¤ãã®ã¯ãã³ã³ãã³ããããã¤ãã®éç¨ã¨ã³ã¸ãã¢ã ã¨ç§ã¯æãã¾ããããããã¦ã§ããã©ã¦ã¶ã vim/emacs ã®ãã¨ã使ãã®ã§ã¦ã§ããã©ã¦ã¶ã®æåã«ã¤ãã¦è©³ããããªããªãåãæ¿ãããªãç¾è±¡ãã DNS ã¨ããä»çµã¿ã誤解ãããåå ã¯ã¢ããªã® DNS ãã£ãã·ã¥ã§ããã¨æ£ããè¦æãã¦ãã¾ãã*8
ã¨è¨ãããã§ããã¢ããªã±ã¼ã·ã§ã³ã§ã® TTL ãç¡è¦ãã DNS ãã£ãã·ã¥ãã®ã¿ã«ã¤ãã¦ã浸éãã¨å®ç¾©ããããå²ã¨ãã£ããããæ°ã¯ãã¾ããããããç§ãã以åããã©ã¦ã¶ã§ã® DNS ãã£ãã·ã¥ããªããªãæããªããã¨ãæãã¦ã浸éãã¨è¨ã£ã¦ãã¾ããã
ãããããã®ã¨ã³ããªãæ¸ãã«å½ãã£ã¦ã浸éã®å®ç¾©ãã調ã¹ãã¹ããDNS 浸éãã§ããã£ã¦ããããè¨ã£ã¦ããã¨ä¸è ä¸æ§ã§è°è«ãé¯ç¶ããé çããã¦ãã¦èããå¤ããã¾ããããã®è¨è使ã£ã¡ããããâ¦ã
誤解ãæãã®ã§ã浸éãã¯ããããï¼
ã浸éãããã¡ãªãä½ã¦è¨ãã°ããã®ãï¼
åé ã®è¨èã*9æ£ããè¨ãæãããªãããå¾ã¯ã¢ããªã®ãã£ãã·ã¥åããå¾ ã¤ã ããã¨ãªãã¾ãã
Web ã«éããªããå¾ã¯ãã©ã¦ã¶ã® DNS ãã£ãã·ã¥åããå¾ ã¤ã ããã§ããã
ãã®ã¢ããªã±ã¼ã·ã§ã³ã§ã®ãã£ãã·ã¥ãé¤ãã°ã DNS ãæ£ãããªãã¬ã¼ã·ã§ã³ãããã¨ã§ãã©ãã£ãã¯ã¯ TTL æéã§æ¸å°ããã«ãããªåãæ¿ããã¾ãã*10 A ã¬ã³ã¼ãã®æ¸ãæãã ããªããããããªããã¹ã®ä½å°ãç¡ãã*11
ãã£ããããã¢ããªã® DNS ãã£ãã·ã¥ãåå ãã¨æ¬è³ªãè¦æãã¦ããã®ã ãããã浸éããªã©ã¨ããæ°æã¡æªãè¨èã使ããã«ããã¢ããªã® DNS ãã£ãã·ã¥ãã¨è¨ãã¾ãããï¼*12
ã¾ã¨ã
æå¾ã«
ã浸éãã¨ããåèªã¯ã¨ã¦ãè¯ãçãã¾ããã³ã¡ã³ãæ¬ããã³ã¡ãçä¸ããã¦é ããã°ããããã§ãã
ã¾ããèªåã®ç¥èã«ééããªãããããã§ããããã¼ã¨æã£ã¦ããè¥è
ãªã®ã§ãééãã®ãææãªã©ãè¾è¾£ãªè¨èã§æãååç³ãã¦é ããã°ã¨æãã¾ããåã³ã¾ãã
ã¨è¨ããã§ãããã¨ã³ã¸ãã¢ãããããããããã¨ããã§ãDNS ã®æµ¸éãã¨çºè¨ããã¨ãæã人*14ãå¬åãã¦ãã¾ãå¯è½æ§ãé«ãã®ã§ãã³ãã«æ¢ãã¦ãã ããããã¸ã§ãçãçããã¥ã³ã
åè
ç§ãæ¸ãããã®ã¨ã³ããªèªä½ããç¹å®ã®è¦ç¹ããã®è°è«ã§ããä»ã®æ¹ã®æè¦ãè¦ã¦ããæ¶åãããã¨ããè¦ããã¾ããã¾ãã geekpage ããã®è¨äºã¯ãæè¡çèæ¯ãªã©ã説æãã¦ããã®ã§ãç®ãéãããã¨ã«å度ãã®ã¨ã³ããªãèªãã¨ç解ãæ·±ã¾ãã¨æãã¾ãã
*1:ãRAID ã§ããã¯ã¢ãããããé«ãæ»æåã ï¼
*2:ãã£ãã·ã¥ãµã¼ããå¤æ®µã«ãã¦ã段æ°åã ãä¿æãããæé·æéã伸ã³ããã¯ãã¾ããã1段ç®ã®ãã£ãã·ã¥ãµã¼ããã«ã¦ã³ããã¦ã³æ¸ã¿ã® TTL ãè¿å´ããã®ã§ãã³ã³ãã³ããµã¼ãã TTL 600 ãªã 2段ç®ã®ãã£ãã·ã¥ã 600ç§ä»¥å ã«åãã¾ãã HTTP ã¨ã¯åæãéããï¼
*3:ããããããã¼ããã³ãã«ã¼ã¿ã¨å¼ã°ãã製åã®ä¸é¨ã¯ããã«è©²å½ããæåããã¾ããã絶対æ°ã¯ãããå°ãªãã§ããåãåãã 1% 以ä¸ã§ããã¨ã¯æè¨åºæ¥ã¾ãã
*4:JPRS ã®è³æãåãããããæ£ç¢ºãªã®ã§ãèªã¿ä¸ããã http://jprs.jp/tech/material/iw2011-lunch-L1-01.pdf
*5:å°ãªãã¨ã Opera ã¯ä¸åº¦å¼ããã¬ã³ã¼ããèµ·åä¸ãã£ã¨ãã£ãã·ã¥ãç¶ããã¼ã¸ãã¾ããã chrome ã¨ã IE ãæªãããªãï¼
*6:DNS NOTIFY ãã³ã±ã¦ãã¨ããªããã¹ã®ããªã¨ã¼ã·ã§ã³ã¯ãããã§ãããã¾ã
*7:ç¬æã¨åè¦ã«æºã¡ã¦ãã¾ããå ã«è¬ãã¾ãããããªããããããªããï¼
*8:å°ãªãã¨ãç§ã®è¦³æ¸¬ç¯å²ã§ã¯ã
*9:å¤ãã®å ´åã«ããã¦
*10:TTL ç¡è¦ã®ããã¼ããã³ãã«ã¼ã¿ã¯è¦³æ¸¬ä¸è½ãªã»ã©å°ãªãã§ãï¼
*11:åæã« TTL ãã¤ã¸ãå ´åãé¤ã
*12:ããã¤ãã¹ã¤ãªã³ããããªãã¦ããªã¾ã³ãã¨ãè¨ãã¾ãããï¼
*13:åç´ãªAã¬ã³ã¼ãã®åãæ¿ãã«éããã¡ããã¨ç解ãã¦ããã¨ã¯åæãããã¿æ¬ã¨ããç´ æ´ãããæ¬ãããã®ã§å 2/3 ãããèªç ´ããã° OK ãã£ï¼
*14:åãåã¿ã¾ã