åºæ¬çã«ãåãã«ãŒããäžçäžã®è€æ°ã®ããŒã¿ã»ã³ã¿ãŒããã¢ããã¿ã€ãºãããŠããŸãããããã£ãŠãã¯ã©ã€ã¢ã³ãã¯ãBGPã«ãŒããããŒã¿ã»ã³ã¿ãŒã«åºã¥ããŠããæè¯ãããã³ãæãè¿ããã«éä¿¡ãããŸãããªãAnycastïŒ Unicastã®ä»£ããã«Anycastã䜿çšããçç±
Unicastã¯ãWebãµãŒããŒã1ã€ã§ããã©ãã£ãã¯ãäžçšåºŠã®ãµã€ãã«æé©ã§ãããã ãããµãŒãã¹ã«æ°çŸäžã®ãµãã¹ã¯ã©ã€ããŒãããå ŽåãéåžžããããããåãIPã¢ãã¬ã¹ãæã€å€æ°ã®WebãµãŒããŒã䜿çšããŸãããããã®ãµãŒããŒã¯ããªã¯ãšã¹ããæé©ã«åŠçããããã«å°ççã«åæ£ããŠããŸãã
ãã®ã·ããªãªã§ã¯ãAnycastã¯ããã©ãŒãã³ã¹ãåäžããïŒãã©ãã£ãã¯ã¯æå°éã®é 延ã§ãŠãŒã¶ãŒã«è»¢éãããŸãïŒããµãŒãã¹ã®ä¿¡é Œæ§ã確ä¿ãïŒåé·ãµãŒããŒã®ãããã§ïŒãè² è·åæ£ãè¡ããŸããè€æ°ã®ãµãŒããŒã«ã«ãŒãã£ã³ã°ãããšããµãŒããŒéã§è² è·ãå¹æçã«åæ£ããããµã€ãã®é床ãåäžããŸãã
ãªãã¬ãŒã¿ãŒã¯ãAnycastãšDNSã«åºã¥ããŠããŸããŸãªã¿ã€ãã®è² è·åæ£ã顧客ã«æäŸããŸããã¯ã©ã€ã¢ã³ãã¯ããµã€ãã®å°ççãªå Žæã«å¿ããŠããªã¯ãšã¹ãã®éä¿¡å ãšãªãIPã¢ãã¬ã¹ãæå®ã§ããŸããããã«ããããŠãŒã¶ãŒã®èŠæ±ãããæè»ã«é åžã§ããŸãã
è² è·ãåæ£ããå¿ èŠã®ãããµã€ãïŒãŠãŒã¶ãŒïŒãããã€ããããšããŸããããšãã°ã1æ¥ããã100,000件ã®ãªã¯ãšã¹ãããããªã³ã©ã€ã³ã¹ãã¢ã人æ°ã®ããããã°ãªã©ã§ãããŠãŒã¶ãŒãç¹å®ã®ãµã€ãã«ã¢ã¯ã»ã¹ããå°åãå¶éããã«ã¯ã[ãžãªã³ãã¥ããã£]ãªãã·ã§ã³ã䜿çšã§ããŸããããã«ããããªãã¬ãŒã¿ãŒãã«ãŒããã¢ããã¿ã€ãºããé åãå¶éã§ããŸãã
AnycastãšUnicastïŒéã
Anycastã¯ãDNSïŒãã¡ã€ã³ããŒã ã·ã¹ãã ïŒãCDNïŒã³ã³ãã³ãé ä¿¡ãããã¯ãŒã¯ïŒãªã©ã®ã¢ããªã±ãŒã·ã§ã³ã§ãã䜿çšããããããã¯ãŒã¯ããã©ãŒãã³ã¹ãåäžãããã«ãŒãã£ã³ã°ã®æ±ºå®ãè¡ãããšãã§ããŸããã³ã³ãã³ãé ä¿¡ãããã¯ãŒã¯ã¯å€§éã®ãã©ãã£ãã¯ãåŠçãããããAnycastã䜿çšããŸãããã®å ŽåãAnycastã«ã¯å€ãã®å©ç¹ããããŸãïŒè©³çŽ°ã«ã€ããŠã¯ä»¥äžãåç §ããŠãã ããïŒã DNSã§ã¯ãAnycastã¯ãµãŒãã¹ã®ä¿¡é Œæ§ãšé害èæ§ã®ã¬ãã«ãå€§å¹ ã«åäžãããããšãã§ããŸãã
Anycast IPã§ã¯ãBGPã䜿çšããŠãç¹å®ã®ãã¹ããžã®ã«ãŒããããã€ããããŸãããããã¯å®éã«ã¯ãäœé 延æ¥ç¶ã確ç«ããããã«äœ¿çšãããè€æ°ã®ããŒã¿ã»ã³ã¿ãŒã«ããããã¹ãã®ã³ããŒã§ãã
ãã®ãããAnycastãããã¯ãŒã¯ã§ã¯ãåãIPã¢ãã¬ã¹ãç°ãªãå Žæããã¢ããã¿ã€ãºããããããã¯ãŒã¯ã¯ã«ãŒãã®ãã³ã¹ããã«åºã¥ããŠãŠãŒã¶ãŒã®èŠæ±ãã©ãã«éä¿¡ãããã決å®ããŸããããšãã°ãBGPã¯ãããŒã¿éä¿¡ã®æçã«ãŒãã決å®ããããã«ãã䜿çšãããŸãããŠãŒã¶ãŒãAnycastãªã¯ãšã¹ããéä¿¡ãããšãBGPã¯ãããã¯ãŒã¯äžã§å©çšå¯èœãªAnycastãµãŒããŒã®æé©ãªã«ãŒãã決å®ããŸãã
Anycastã®ã¡ãªãã
åŸ ã¡æéã®ççž® | Anycast , . «» ( ) DNS-. Anycast . , . |
|
, , , , .
|
|
IP, . Anycast //.
, , , Anycast, , DNS. DNS - . Anycast , . |
|
Anycast . , , . , , . .
|
DoS-
|
Anycast â DDoS. DDoS- Anycast, .
DDoS- , , . Anycast , «» , . « », , . |
|
Anycast . , Anycast, , . .
, . , . , . , , , . . , 10 25 /. 100 IP- . |
|
, Anycast â DNS. DNS-, DNS-. , , . DNS-. , , DNS- , , DNS- .
Anycast , , , . . |
ã¯ã©ã€ã¢ã³ãåŽããAnycastãã¯ãããžãŒã䜿çšããããã«ãç¹å¥ãªãµãŒããŒããããã¯ãŒã¯ããŸãã¯ç¹å¥ãªã³ã³ããŒãã³ãã¯å¿ èŠãããŸãããããããAnycastã«ã¯æ¬ ç¹ããããŸãããã®å®è£ ã¯ãè¿œå ã®æ©åšãä¿¡é Œã§ãããããã€ããŒãããã³é©åãªãã©ãã£ãã¯ã«ãŒãã£ã³ã°ãå¿ èŠãšããè€éãªã¿ã¹ã¯ã§ãããšèããããŠããŸãã
çŽç²ãªæºããçŸããé ããŸã§
Anycastã¯æå°ã®ãããã«åºã¥ããŠãŠãŒã¶ãŒãã«ãŒãã£ã³ã°ããŸãããå¿ ãããæå°ã®é 延ãæå³ããããã§ã¯ãããŸããã1ã€ã®é·ç§»ã«10ãè¶ ããå¯èœæ§ããããããé 延ã¯ããè€éãªã¡ããªãã¯ã§ãã
äŸïŒå€§éžééä¿¡ã«ã¯ã1ã€ã®éåžžã«é«ãé 延ããããå«ãŸããå ŽåããããŸãã
Anycastã¯ãäž»ã«DNSãªã©ã®UDPããŒã¹ã®ãµãŒãã¹ã«äœ¿çšãããŸãããŠãŒã¶ãŒã®èŠæ±ã¯ãBGPã«ãŒãã«åºã¥ããŠãæè¯ãããã³ãæãè¿ããããŒã¿ã»ã³ã¿ãŒã«éä¿¡ãããŸãã
äŸïŒAnycast DNS IPã¢ãã¬ã¹123.10.10.10ãæã€DNSã¯ã©ã€ã¢ã³ãã¯ãŒã¯ã¹ããŒã·ã§ã³ã¯ãåãAnycastIPã¢ãã¬ã¹ã䜿çšããŠå±éããã3ã€ã®DNSããŒã ãµãŒããŒã®ãã¡æãè¿ããã®ã«å¯ŸããŠDNS解決ãå®è¡ããŸããã«ãŒã¿ãŒR1ãŸãã¯ãµãŒããŒAã«é害ãçºçããå ŽåãDNSã¯ã©ã€ã¢ã³ããã±ããã¯ãR2ããã³R3ãä»ããŠæ¬¡ã«è¿ãDNSãµãŒããŒã«èªåçã«è»¢éãããŸããããã«ããµãŒããŒAãžã®ã«ãŒããã«ãŒãã£ã³ã°ããŒãã«ããåé€ããããã®ããŒã ãµãŒããŒããã以äžäœ¿çšã§ããªããªããŸãã
å±éã¹ã¯ãªãã
ãŠãŒã¶ãŒãæ¥ç¶ããŠãããµãŒããŒãå€å¥ããããã«äœ¿çšããã2ã€ã®äžè¬çãªã¹ããŒã ããããŸãã
- Anycastãããã¯ãŒã¯ã¬ã€ã€ãŒããŠãŒã¶ãŒãæãè¿ããµãŒããŒã«æ¥ç¶ããŸããããã§ã¯ããŠãŒã¶ãŒãããµãŒããŒãžã®ãããã¯ãŒã¯ãã¹ãéèŠã§ãã
- Anycast . , , , . . , .
CDN Anycast
ããã§ãã³ã³ãã³ãé ä¿¡ãããã¯ãŒã¯ã§ã®Anycastã®äœ¿çšã«æ»ããŸãããã Anycastã¯ç¢ºãã«èå³æ·±ããããã¯ãŒãã³ã°ã®æŠå¿µã§ããã次äžä»£ã®CDNãããã€ããŒãããŸããŸãåãå ¥ããããŠããŸãã
CDNã¯ãé«å¯çšæ§ãšäœé 延ã§ãšã³ããŠãŒã¶ãŒã«ã³ã³ãã³ããé ä¿¡ãããµãŒããŒã®åæ£ãããã¯ãŒã¯ã§ããä»æ¥ãã³ã³ãã³ãé ä¿¡ãããã¯ãŒã¯ã¯ãå€æ°ã®ãªã³ã©ã€ã³ãã«ãã¡ãã£ã¢ãµãŒãã¹ã®ããã¯ããŒã³ãšããŠéèŠãªåœ¹å²ãæãããŠãããæ¶è²»è ã¯ããŠã³ããŒãé床ã®äœäžã«å¯Ÿãã蚱容床ããŸããŸãäœããªã£ãŠããŸãããããªããã³é³å£°ã¢ããªã±ãŒã·ã§ã³ã¯ããããã¯ãŒã¯ã®ãžãã¿ãšé 延ã«ç¹ã«ææã§ãã
CDNã¯ããã¹ãŠã®ãµãŒããŒã1ã€ã®ãããã¯ãŒã¯ã«ãŸãšããã³ã³ãã³ãã®èªã¿èŸŒã¿ãé«éåããŸãããŠãŒã¶ãŒã®åŸ ã¡æéã5ã6ç§ççž®ã§ããå ŽåããããŸãã CDNã®ç®æšã¯ããšã³ããŠãŒã¶ãŒã«æãè¿ããµãŒããŒããã³ã³ãã³ããæäŸããããšã«ãããé ä¿¡ãæé©åããããšã§ããããã¯ããšã³ããŠãŒã¶ãŒã®å Žæã«åºã¥ããŠæãè¿ããµãŒããŒãéžæãããAnycastãšéåžžã«ãã䌌ãŠããŸãããã¹ãŠã®CDNãããã€ããŒãããã©ã«ãã§Anycastã䜿çšããããã«èŠããŸãããå®éã«ã¯ããã§ã¯ãããŸããã
HTTP / TCPãªã©ã®ãããã³ã«ã䜿çšããã¢ããªã±ãŒã·ã§ã³ã¯ã確ç«ãããæ¥ç¶ã«äŸåããŸããæ°ããAnycastããŒããéžæãããå ŽåïŒããšãã°ããµãŒããŒã«é害ãçºçããå ŽåïŒããµãŒãã¹ãäžæãããå¯èœæ§ããããŸãããããã以åã¯UDPãDNSãªã©ã®æ¥ç¶ã®ãªããµãŒãã¹ã«Anycastãæšå¥šãããŠããçç±ã§ãããã ããAnycastã¯æ¥ç¶æåã®ãããã³ã«ã§ãé©åã«æ©èœããŸããããšãã°ãTCPã¯Anycastã¢ãŒãã§æ£åžžã«æ©èœããŸãã
äžéšã®CDNãããã€ããŒã¯AnycastããŒã¹ã®ã«ãŒãã£ã³ã°ã䜿çšããä»ã®ãããã€ããŒã¯DNSããŒã¹ã®ã«ãŒãã£ã³ã°ã奜ã¿ãŸãããŠãŒã¶ãŒã®DNSãµãŒããŒãé 眮ãããŠããå Žæã«å¿ããŠæãè¿ããµãŒããŒãéžæãããŸãã
ãã€ããªããããã³ãã«ãããŒã¿ã»ã³ã¿ãŒã€ã³ãã©ã¹ãã©ã¯ãã£ã¯ãAnycastã®ãã1ã€ã®äœ¿çšäŸã§ãããããã€ããŒããåä¿¡ããè² è·åæ£IPã¢ãã¬ã¹ã䜿çšãããšããããã€ããŒã®ããŒã¿ã»ã³ã¿ãŒå ã®ããŸããŸãªã¯ã©ã€ã¢ã³ããµãŒãã¹ã®IPã¢ãã¬ã¹éã§è² è·ãåæ£ã§ããŸããã©ã®ããã€ã¹ã¢ãã¬ã¹æå®ãã¯ãããžãŒã§ãã倧éã®ãã©ãã£ãã¯ãšé害èæ§ãåããããã©ãŒãã³ã¹ãåäžããå€æ°ã®ãŠãŒã¶ãŒã®å¿çæéãæé©åããã®ã«åœ¹ç«ã¡ãŸãã
ãã€ããªãããã«ãããŒã¿ã»ã³ã¿ãŒã€ã³ãã©ã¹ãã©ã¯ãã£ã§ã¯ããµãŒããŒéããŸãã¯å°çšãµãŒããŒäžã®ä»®æ³ãã·ã³ã«ãã©ãã£ãã¯ãåæ£ã§ããŸãã
ãããã£ãŠãã€ã³ãã©ã¹ãã©ã¯ãã£ãæ§ç¯ããããã®æè¡ãœãªã¥ãŒã·ã§ã³ã®èšå€§ãªéžæè¢ããããŸããã°ã«ãŒãå ã®ä»»æã®ããã€ã¹ã䜿çšããŠãµã€ãã®ããã©ãŒãã³ã¹ãæé©åããè€æ°ã®ããŒã¿ã»ã³ã¿ãŒéã§IPè² è·åæ£ãæ§æããããšãã§ããŸãã
åããŒã¿ã»ã³ã¿ãŒã®ååæ£ãµãŒããŒã®ãéã¿ããå®çŸ©ããŠãç¬èªã®ã«ãŒã«ã«åŸã£ãŠãã©ãã£ãã¯ãåæ£ã§ããŸãããã®æ§æã¯ãåæ£ãµãŒããŒããŒã¯ãããããµãŒãã¹ã®ããã©ãŒãã³ã¹ãåäžã§ãªãå Žåã«ç¹ã«åœ¹ç«ã¡ãŸããããã«ããããã©ãã£ãã¯ãããé »ç¹ã«åæ£ããŠãµãŒããŒã®ããã©ãŒãã³ã¹ãåäžãããããšãã§ããŸãã
pingã³ãã³ãã䜿çšããŠç£èŠã·ã¹ãã ãäœæããããã«ããããŒããæ§æããããšãã§ããŸããããã«ããã管çè ã¯ç¬èªã®ç£èŠæé ãå®çŸ©ããã€ã³ãã©ã¹ãã©ã¯ãã£å ã®åã³ã³ããŒãã³ãã®ç¶æ ãããæ確ã«ææ¡ã§ããŸãããã®ããã«ããŠãã¢ã¯ã»ã·ããªãã£ã®åºæºãå®çŸ©ã§ããŸãã
ãã€ããªããã€ã³ãã©ã¹ãã©ã¯ãã£ãæ§ç¯ããå¯èœæ§ããããŸããäŒæ¥ãããã¯ãŒã¯ã«ããã¯ãªãã£ã¹ãæ®ããããã³ããšã³ãéšåããããã€ããŒãžã®ã¢ãŠããœãŒã·ã³ã°ã«è»¢éãããšäŸ¿å©ãªå ŽåããããŸãã
è² è·åæ£ãéä¿¡ããŒã¿ã®æå·åãããã³ãµã€ã蚪åè ãšäŒæ¥ã€ã³ãã©ã¹ãã©ã¯ãã£éã®éä¿¡ã®ã»ãã¥ãªãã£ã®ããã«SSL蚌ææžãè¿œå ããããšãã§ããŸããããŒã¿ã»ã³ã¿ãŒéã®è² è·åæ£ã®å ŽåãSSLã䜿çšã§ããŸãã
Anycastã¢ãã¬ã¹è² è·åæ£ãµãŒãã¹ã¯ISPããå©çšã§ããŸãããã®æ©èœã¯ããŠãŒã¶ãŒãå Žæã«åºã¥ããŠã¢ããªãæäœããæ¹æ³ãæ¹åããã®ã«åœ¹ç«ã¡ãŸããããŒã¿ã»ã³ã¿ãŒã§å©çšå¯èœãªãµãŒãã¹ã宣èšããã ãã§ååã§ããããã©ãã£ãã¯ã¯æãè¿ãã€ã³ãã©ã¹ãã©ã¯ãã£ã«ãªãã€ã¬ã¯ããããŸããããšãã°ãã©ã³ã¹ãåç±³ã«å°çšãµãŒããŒãããå Žåãã¯ã©ã€ã¢ã³ãã¯ãããã¯ãŒã¯äžã§æãè¿ããµãŒããŒã«è»¢éãããŸãã
Anycastã®1ã€ã®äœ¿çšäŸã¯ããªãã¬ãŒã¿ãŒã®Point of PresenceïŒPoPïŒã®æé©ãªéžæã§ããäŸãæããŸããã..ã LinkedInïŒãã·ã¢ã§ãããã¯ïŒã¯ã補åïŒã¢ãã€ã«ããã³Webã¢ããªã±ãŒã·ã§ã³ïŒã®ããã©ãŒãã³ã¹ãšé床ãåäžãããã ãã§ãªããã³ã³ãã³ãé ä¿¡ãé«éåããããã®ãããã¯ãŒã¯ã€ã³ãã©ã¹ãã©ã¯ãã£ãåäžãããããšãç®æããŠããŸãããã®åçãªã³ã³ãã³ãé ä¿¡ã®ããã«ãLinkedInã¯ç©æ¥µçã«PoPïŒãã€ã³ããªããã¬ãŒã³ã¹ïŒã䜿çšããŸãã Anycastã¯ããŠãŒã¶ãŒãæãè¿ãPoPã«èªå°ããããã«é©çšãããŸãã
ãã®çç±ã¯ãUnycastã®å ŽåãLinkedInã®åPoPãäžæã®IPã¢ãã¬ã¹ãæã£ãŠããããã§ãã次ã«ãDNSã䜿çšããŠãå°ççãªå Žæã«åºã¥ããŠãŠãŒã¶ãŒã«PoPãå²ãåœãŠãããŸããåé¡ã¯ãDNSã䜿çšãããšãç±³åœã®ãŠãŒã¶ãŒã®çŽ30ïŒ ã次åã®PoPã«ãªãã€ã¬ã¯ããããããšã§ãã Anycastã®æ®µéçãªå®è£ ã«ããã次åã®PoPå²ãåœãŠã¯31ïŒ ãã10ïŒ ã«æžå°ããŸããã
, Y â PoP. «» Anycast PoP.
Anycast
çè«çã«ã¯ãAnycastãããã¯ãŒã¯ã¯åçŽã§ããè€æ°ã®ç©çãµãŒããŒã«ã¯ãBGPãã«ãŒãã決å®ããããã«äœ¿çšããã®ãšåãIPã¢ãã¬ã¹ãå²ãåœãŠãããŸããããããAnycastãã©ãããã©ãŒã ã®å®è£ ãšèšèšã¯è€éã§ãããAnycastã®ãã©ãŒã«ããã¬ã©ã³ããããã¯ãŒã¯ã¯ããã§ç¹ã«æåã§ããããã«é£ããã®ã¯ãAnycastãããã¯ãŒã¯ãå¹æçã«ç£èŠããŠãé害ããã°ããç¹å®ããŠåãåããããšã§ãã
ãµãŒãã¹ããµãŒãããŒãã£ã®CDNãããã€ããŒã䜿çšããŠã³ã³ãã³ããæäŸããå Žåããããã¯ãŒã¯ããã©ãŒãã³ã¹ãç£èŠããã³æ€èšŒããããšãéåžžã«éèŠã§ãã AnycastããŒã¹ã®CDNã¢ãã¿ãªã³ã°ã¯ããšã³ãããŒãšã³ãã®é 延ãšæåŸãã2çªç®ã®ãããããã©ãŒãã³ã¹ã枬å®ããŠãã©ã®ããŒã¿ã»ã³ã¿ãŒãã³ã³ãã³ããæäŸããŠããããç解ããããšã«éç¹ã眮ããŠããŸãã HTTPãµãŒããŒããããŒã®åæã¯ãããŒã¿ã®éä¿¡å ãç¹å®ãããã1ã€ã®æ¹æ³ã§ãã
äŸïŒCDNãµãŒããŒã®å Žæã瀺ãHTTPå¿çããããŒã
ããšãã°ãCloudFlareã¯HTTPå¿çã¡ãã»ãŒãžã§ç¬èªã®CF-RayããããŒã䜿çšããŸããããã«ã¯ãèŠæ±ãè¡ãããããŒã¿ã»ã³ã¿ãŒã®è¡šç€ºãå«ãŸããŸããZendeskã®å Žåãã·ã¢ãã«å°åã®CF-RayããããŒã¯CF-RAYïŒ2a21675e65fd2a3d-SEAã§ãããã¢ã ã¹ãã«ãã ã®å Žåã¯CF-RAYïŒ2a216896b93a0c71-AMSã§ããHTTPå¿çã®HTTPXããããŒã䜿çšããŠãã³ã³ãã³ãã®å Žæãç¹å®ããããšãã§ããŸãã
ãã®ä»ã®ã¢ãã¬ã¹æå®æ¹æ³
ãŠãŒã¶ãŒèŠæ±ãç¹å®ã®ãããã¯ãŒã¯ãšã³ããã€ã³ãã«ã«ãŒãã£ã³ã°ããããã®ä»ã®ã¢ãã¬ã¹æå®æ¹æ³ããããŸãã
ãŠããã£ã¹ã
|
ä»æ¥ã®ã€ã³ã¿ãŒãããã®ã»ãšãã©ã¯ãã®æ¹æ³ã䜿çšããŠããŸãããŠããã£ã¹ã-ãŠããã£ã¹ãéä¿¡ãIPã¢ãã¬ã¹ã¯ããããã¯ãŒã¯äžã®1ã€ã®ç¹å®ã®ããŒãã«ã®ã¿é¢é£ä»ããããŸããããã¯1察1ã®å¯Ÿå¿ãšåŒã°ããŸãã
|
Multicast
|
Multicast « » « ». . ( ). Multicast Anycast, , Anycast , .
|
Broadcast
|
, . , ( ).
|
Geocast
|
Geocast Multicast: . , . .
(Geo Router) . , , . . |
ãŠããã£ã¹ãããã«ããã£ã¹ãããããŒããã£ã¹ãã
Anycastãã¯ãããžãŒã䜿çšãããšãDNSã®ä¿¡é Œæ§ã埩å åãããã³ã»ãã¥ãªãã£ã®ã¬ãã«ãåäžããŸãããã®ãã¯ãããžãŒã䜿çšããŠããªãã¬ãŒã¿ãŒã¯ããŸããŸãªã¿ã€ãã®DNSããŒã¹ã®è² è·åæ£ã®ããã®ãµãŒãã¹ã顧客ã«æäŸããŸããã³ã³ãããŒã«ããã«ã§ã¯ãå°ççãªå Žæã«å¿ããŠããªã¯ãšã¹ãã®éä¿¡å ã®IPã¢ãã¬ã¹ãæå®ã§ããŸããããã«ãããã¯ã©ã€ã¢ã³ãã¯ãŠãŒã¶ãŒã®èŠæ±ãããæè»ã«é åžã§ããããã«ãªããŸãã
äžéšã®ãªãã¬ãŒã¿ãŒã¯POPã«ãŒãã¢ãã¿ãªã³ã°ã䜿çšããŸããã·ã¹ãã ã¯ãæçã®ããŒã«ã«ã«ãŒããšã°ããŒãã«ã«ãŒããèªåçã«åæããŠãã€ã³ããæ¢ããããŠã³ã¿ã€ã ããŒãã§åŸ ã¡æéãæãçãå°ççãªå Žæã«ã«ãŒããå€æŽããŸãã
çŸæç¹ã§ã¯ãAnycastã¯ãå®å®æ§ãšä¿¡é Œæ§ã«å¯Ÿããé«ãèŠä»¶ã®å¯Ÿè±¡ãšãªããé«è² è·ã®DNSãµãŒãã¹ãæ§ç¯ããããã®æãå®å®ããä¿¡é Œæ§ã®é«ããœãªã¥ãŒã·ã§ã³ã§ãã
.ruãã¡ã€ã³ã¯ã20ããŒãã«ã°ã«ãŒãåããã35ã®Anycast DNSãµãŒããŒããµããŒããã5ã€ã®Anycastã¯ã©ãŠãã«åæ£ãããŸãããã®å Žåãå°çããŒã¹ã®æ§ç¯ã®ååã䜿çšãããŸãããžãªãã£ã¹ããDNSããŒããé 眮ãããšãã¯ãæãã¢ã¯ãã£ããªãŠãŒã¶ãŒã«è¿ãå°ççã«åæ£ããå Žæããµã€ãã®ãµã€ããžã®ãã·ã¢ã®ãããã€ããŒã®æ倧ã®éäžãããã³ç©ºã容éã®å¯çšæ§ãšãµã€ããšã®å¯Ÿè©±ã®å®¹æãã«ããŒãã移åããããšãæ³å®ãããŸãã
CDNãäœæããã«ã¯ã©ãããã°ããã§ããïŒ
CDNã¯ããŠãŒã¶ãŒãžã®ã³ã³ãã³ãã®é ä¿¡ãå éãããµãŒããŒã®ãããã¯ãŒã¯ã§ããã³ã³ãã³ãé ä¿¡ãããã¯ãŒã¯ã¯ããã¹ãŠã®ãµãŒããŒã1ã€ã®ãããã¯ãŒã¯ã«æ¥ç¶ããã³ã³ãã³ãã®èªã¿èŸŒã¿ãé«éåããŸãããµãŒããŒãããŠãŒã¶ãŒãŸã§ã®è·é¢ã¯ãããŠã³ããŒãé床ã«éèŠãªåœ¹å²ãæãããŸãã
CDNã䜿çšãããšãã¿ãŒã²ãããªãŒãã£ãšã³ã¹ã«æãè¿ããµãŒããŒã䜿çšã§ããŸããããã«ãããåŸ ã¡æéãççž®ããããã¹ãŠã®èšªåè ã®ãµã€ãã³ã³ãã³ãã®èªã¿èŸŒã¿ãé«éåãããŸããããã¯ã倧ããªãã¡ã€ã«ããã«ãã¡ãã£ã¢ãµãŒãã¹ã䜿çšãããµã€ãã«ãšã£ãŠç¹ã«éèŠã§ããå žåçãªCDNã¢ããªã±ãŒã·ã§ã³ã¯ãeã³ããŒã¹ãšãšã³ã¿ãŒãã€ã³ã¡ã³ãã§ãã
CDNã€ã³ãã©ã¹ãã©ã¯ãã£ã§äœæãããè¿œå ãµãŒããŒã®ãããã¯ãŒã¯ã¯ããŠãŒã¶ãŒã®ã§ããã ãè¿ãã«é 眮ãããŠãããããå®å®ããé«éãªããŒã¿é ä¿¡ã«è²¢ç®ããŸããçµ±èšã«ãããšãCDNã䜿çšãããšãCDNã®ãªããµã€ããšæ¯èŒããŠããµã€ãã«ã¢ã¯ã»ã¹ããéã®åŸ ã¡æéã70ïŒ ä»¥äžççž®ãããŸããDNSã䜿çšããŠCDNãäœæãã
æ¹æ³ïŒç¬èªã®Anycastãœãªã¥ãŒã·ã§ã³ã䜿çšããŠCDNãèšå®ããããšã¯ãéåžžã«è²»çšã®ããããããžã§ã¯ãã«ãªãå¯èœæ§ããããŸãããããå®äŸ¡ãªãªãã·ã§ã³ããããŸããããšãã°ãGeoDNSãšãäžæã®IPã¢ãã¬ã¹ãæã€éåžžã®ãµãŒããŒã䜿çšã§ããŸãã GeoDNSãµãŒãã¹ã䜿çšãããšãDNSãªãŸã«ããŒã®å Žæã§ã¯ãªãã蚪åè ã®å®éã®å Žæã«åºã¥ããŠæ±ºå®ãè¡ããããå°ççã«é 眮ãããCDNãäœæã§ããŸããç±³åœã®ãµãŒããŒã®IPã¢ãã¬ã¹ãç±³åœã®èšªåè ã«è¡šç€ºããããã«DNSãŸãŒã³ãæ§æã§ããŸãããšãŒãããã®èšªåè ã«ã¯ããšãŒãããããã®IPã¢ãã¬ã¹ã衚瀺ãããŸãã
GeoDNSã䜿çšãããšããŠãŒã¶ãŒã®IPã¢ãã¬ã¹ã«å¿ããŠç°ãªãDNSå¿çãè¿ãããšãã§ããŸãããããè¡ãããã«ãDNSãµãŒããŒã¯ãèŠæ±ã®å ã®IPã¢ãã¬ã¹ã«åºã¥ããŠç°ãªãIPã¢ãã¬ã¹ãè¿ãããã«æ§æãããŠããŸããéåžžãGeoIPããŒã¿ããŒã¹ã¯ãèŠæ±ãè¡ãããå°åã決å®ããããã«äœ¿çšãããŸããDNSã䜿çšãããžãªãã±ãŒã·ã§ã³ã䜿çšãããšãè¿ãã®ãµã€ããããŠãŒã¶ãŒã«ã³ã³ãã³ããéä¿¡ã§ããŸãã
GeoDNSã¯ãDNSèŠæ±ãè¡ã£ãã¯ã©ã€ã¢ã³ãã®IPã¢ãã¬ã¹ããŸãã¯ã¯ã©ã€ã¢ã³ãèŠæ±ã®åŠçã«äœ¿çšãããISPã®ååž°DNSãµãŒããŒã®IPãå®çŸ©ããŸããåœ/å°åã¯ãã¯ã©ã€ã¢ã³ãã®IPããã³GeoIPããŒã¹ã«ãã£ãŠæ±ºå®ãããŸãã次ã«ãã¯ã©ã€ã¢ã³ãã¯æãè¿ãCDNãµãŒããŒã®IPã¢ãã¬ã¹ãååŸããŸããGeoDNSã®èšå®ã«ã€ããŠè©³ããã¯ããã¡ããã芧ãã ããã
AnycastãŸãã¯GeoDNSïŒ
Anycastã¯ã³ã³ãã³ããã°ããŒãã«ã«é ä¿¡ããããã®åªããæ¹æ³ã§ãããç¹ç°æ§ã«æ¬ ããŠããŸãããããGeoDNSã®åºçªã§ãããã®ãµãŒãã¹ã䜿çšãããšããŠãŒã¶ãŒã®å Žæã«åºã¥ããŠäžæã®ãšã³ããã€ã³ãã«ãŠãŒã¶ãŒãéä¿¡ããã«ãŒã«ãäœæã§ããŸãã
äŸïŒãšãŒãããã®ãŠãŒã¶ãŒã¯å¥ã®ãšã³ããã€ã³ãã«èªå°ãããŸãã
ãã¹ãŠã®ãªã¯ãšã¹ããåé€ããŠããã¡ã€ã³ãžã®ã¢ã¯ã»ã¹ãæåŠããããšãã§ããŸããããã¯ãç¹ã«ãäŸµå ¥è ãé®æããããã®è¿ éãªæ¹æ³ã§ãã
GeoDNSã¯ãAnycastãããæ£ç¢ºãªåçãæäŸããŸããAnycastã®å Žåãæçã«ãŒãã¯ãããæ°ã«ãã£ãŠæ±ºå®ãããŸãããGeoDNSã§ã¯ããšã³ããŠãŒã¶ãŒã®ã«ãŒãã£ã³ã°ã¯ç©ççãªå Žæã«åºã¥ããŠããŸããããã«ããã詳现ãªã«ãŒãã£ã³ã°ã«ãŒã«ãäœæããéã®åŸ ã¡æéãççž®ããã粟床ãåäžããŸãã
ãã¡ã€ã³ã«åãæ¿ãããšããã©ãŠã¶ã¯æãè¿ãDNSãµãŒããŒã«æ¥ç¶ããŸããDNSãµãŒããŒã¯ããã¡ã€ã³ã«å¿ããŠããµã€ããããŒãããããã®IPã¢ãã¬ã¹ãçºè¡ããŸãããªã³ã©ã€ã³ã¹ãã¢ãç±³åœãšãšãŒãããã§äººæ°ãããããã®ããã®DNSãµãŒããŒããšãŒãããã«ã®ã¿ãããšããŸãã次ã«ãã¹ãã¢ã®ãµãŒãã¹ã䜿çšãããç±³åœã®ãŠãŒã¶ãŒã¯ãæå¯ãã®ãµãŒããŒã«ãªã¯ãšã¹ããéä¿¡ããå¿ èŠããããŸãããŸããéåžžã«é¢ããŠãããããåçãåŸ ã€ã®ã«é·ãæéãããããŸãããµã€ããããã«èªã¿èŸŒãŸããŸããã
GeoDNSãµãŒããŒãç±³åœã«ããå ŽåããŠãŒã¶ãŒã¯ãã§ã«ãããåç §ããŠããŸããçãã¯éãããµã€ãã®èªã¿èŸŒã¿é床ã«åœ±é¿ããŸãã
ç±³åœã«æ¢åã®DNSãµãŒããŒãããç¶æ³ã§ã¯ãç±³åœããã®ãŠãŒã¶ãŒããã®ãã¡ã€ã³ã«ã¢ã¯ã»ã¹ãããšãç®çã®IPãæäŸããæãè¿ããµãŒããŒã«æ¥ç¶ããŸãããŠãŒã¶ãŒã¯ãµã€ãã®ã³ã³ãã³ããå«ããµãŒããŒã«èªå°ãããŸãããã³ã³ãã³ããå«ããµãŒããŒã¯é ãé¢ããŠãããããããã«ã¯åä¿¡ã§ããŸããã
ç±³åœã§ããŒã¿ããã£ãã·ã¥ãããCDNãµãŒããŒããã¹ãããŠããå Žåãã¯ã©ã€ã¢ã³ãã®ãã©ãŠã¶ãŒãããŒããããšãæãè¿ãDNSãµãŒããŒã«èŠæ±ãéä¿¡ãããæ£ããIPã¢ãã¬ã¹ãè¿éãããŸããååŸããIPãæã€ãã©ãŠã¶ã¯ãæãè¿ãCDNãµãŒããŒãšã¡ã€ã³ãµãŒããŒãã¢ãã¬ã¹æå®ããCDNãµãŒããŒã¯ãã£ãã·ã¥ãããã³ã³ãã³ãããã©ãŠã¶ã«éä¿¡ããŸãããã£ãã·ã¥ãããã³ã³ãã³ãã®ããŒãäžã«ããµã€ãå šäœãããŒãããããã«æ¬ èœããŠãããã¡ã€ã«ãã¡ã€ã³ãµãŒããŒããåä¿¡ãããŸãããã®çµæãã¡ã€ã³ãµãŒããŒããéä¿¡ããããã¡ã€ã«ãã¯ããã«å°ãªããªãããããµã€ãã®èªã¿èŸŒã¿æéãççž®ãããŸãã
ç¹å®ã®IPã¢ãã¬ã¹ã®æ£ç¢ºãªå Žæãç¹å®ããããšã¯ãå¿ ãããç°¡åãªäœæ¥ã§ã¯ãããŸãããããŸããŸãªèŠå ãé¢ä¿ããŠãããIPã¢ãã¬ã¹ç¯å²ã®ææè ã¯ãäžçã®å察åŽã§ãããçºè¡šããããšã決å®ããå ŽåããããŸãïŒæ£ããå ŽæãååŸããã«ã¯ãããŒã¿ããŒã¹ãæŽæ°ãããã®ãåŸ ã€å¿ èŠããããŸãïŒã VPSãããã€ããŒã¯ãã·ã³ã¬ããŒã«ã®VPSã«ç±³åœã«ãããšæãããã¢ãã¬ã¹ãå²ãåœãŠãå ŽåããããŸãã
Anycastã¢ãã¬ã¹ã䜿çšããå Žåãšã¯ç°ãªããé åžã¯ããã£ãã·ã³ã°ãµãŒããŒãžã®æ¥ç¶äžã§ã¯ãªããååã®è§£æ±ºäžã«è¡ãããŸããååž°ãµãŒããŒãEDNSã¯ã©ã€ã¢ã³ããµããããããµããŒãããŠããªãå Žåã¯ããã£ãã·ã¥ãµãŒããŒã«æ¥ç¶ãããŠãŒã¶ãŒã§ã¯ãªãããã®ååž°ãµãŒããŒã®å Žæã䜿çšãããŸãã
DNSã®ã¯ã©ã€ã¢ã³ããµããããã¯DNSæ¡åŒµæ©èœïŒRFC7871ïŒã§ãããååž°DNSãµãŒããŒãã¯ã©ã€ã¢ã³ãæ å ±ãDNSãµãŒããŒã«éä¿¡ããæ¹æ³ãå ·äœçã«ã¯GeoDNSãµãŒããŒãã¯ã©ã€ã¢ã³ããããæ£ç¢ºã«èŠã€ããããã«äœ¿çšã§ãããããã¯ãŒã¯æ å ±ãå®çŸ©ããŸãã
ã»ãšãã©ã®å ŽåãISPã®DNSãµãŒããŒãŸãã¯å°ççã«è¿ãDNSãµãŒããŒã䜿çšããŸãããç±³åœã®èª°ããäœããã®çç±ã§ãªãŒã¹ãã©ãªã¢ã«ããDNSãªãŸã«ããŒã䜿çšããããšã«ããå ŽåãIPãååŸããå¯èœæ§ãé«ããªããŸãããªãŒã¹ãã©ãªã¢ã«æãè¿ããµãŒããŒã¢ãã¬ã¹ã
GeoDNSã䜿çšããå Žåã¯ããããã®æ©èœã«æ³šæããããšãéèŠã§ããå Žåã«ãã£ãŠã¯ããã£ãã·ã³ã°ãµãŒããŒãšã¯ã©ã€ã¢ã³ãã®éã®è·é¢ãé·ããªãå¯èœæ§ããããŸãã
æŠèŠïŒCDNã§è€æ°ã®VPSãçµã¿åãããå Žåãæé©ãªå±éãªãã·ã§ã³ã¯ãããã«äœ¿çšã§ããGeoDNS + Anycastæ©èœãåããDNSãµãŒããŒãã³ãã«ã䜿çšããããšã§ãã