DNS ã§ã©ã¦ã³ãããã³ã¯å½ã¦ã«ãªããªãã
ä¸ã®è³ªåãè¦ã¦ããããã£ãã©ã¦ã³ãããã³ã£ã¦ããã©ã¦ã¶ã®ãããªã¢ããªã±ã¼ã·ã§ã³ãµã¤ãã§å¯¾å¿ãããã®ã ã£ãï¼ gethostbyname 辺ãã§åæã«ãã£ã¦ãã¦ãã¢ããªå´ã¯æ¸¡ããã IP ã§ç¹ãã ãã§ã¯ï¼ãã¨æã£ã¦ããããããã¯ãããå¤ã話ãããã
0000665: wgetがDNSラウンドロビンに対応していない - Vine Linux バグトラッキングシステム
ä¸è¨ãã¼ã¸ã¯ãVine ä¸ã® wget ã®æåã«é¢ãã話ã ãã
åé¡ã®æ¬è³ªã¯ï¼glibcä¸ã®getaddrinfo()ãRFC3484 rule 9ã«æºæ ããçµæï¼åå解決ãããIPã¢ãã¬ã¹ãã½ã¼ãããã¦è¿ãããããã®ããã§ãï¼
ã¨æ¸ããã¦ãã¦ãgetaddrinfo ã使ãã¨ãRFC3484 rule 9 ã«å¾ããã¨ã«ãªãã®ã§ããã®ã¾ã¾ã§ã¯ã©ã¦ã³ãããã³ã«ãªããªããããã
ç§ããã©ã¦ã³ãããã³ããããã¨å ±åããwgetã¯ï¼ãã¼ã¸ã§ã³ã¯å¤ãã¦gethostbyname()ã使ã£ã¦ããããã«çµæçã«ã©ã¦ã³ãããã³ããã¦ï¼Vineæ¨æºã®wgetã¯æ°ããã¦getaddrinfo()ã使ã£ã¦ãã(IPv6対å¿ããªï¼ï¼ããã«ï¼ã©ã¦ã³ãããã³ãã¦ãããªãã¨ãããã¨ãªã®ã§ãããï¼
ã¨ãªãã¨ãgethostbyname ã使ã£ã¦ããã°ãæã©ãããã©ã¦ã³ãããã³ã«ãªããã©ãIPv6 ã«å¯¾å¿ãããã¨ãã¦ãgetaddrinfo ã使ãã¨ãã¢ããªã±ã¼ã·ã§ã³å´ã対å¿ããªããã°ãã©ã¦ã³ãããã³ã«ãªããªããããã
ä¸çªåé¡ã大ããããªFirefoxã¯getaddrinfoããã®çµæãèªåã§ã©ã¦ã³ãããã³ãã¦ã
ã¨ãããããIPv6 対å¿ããä¸ã§ãã©ã¦ã³ãããã³ãããããã°ãã¢ããªå´ã®å¯¾å¿ãå¿ è¦ã¿ããã
ã§ããããªãã¼ã¸ããã£ãã
Syun | We provide professional Internet solution for you to smile.
ããã ã¨ãVista ã® gethostbyname ã¯ã©ã¦ã³ãããã³ã«ãªããªããããã
ã§ãã¡ãã£ã¨èª¿ã¹ã¦ã¿ããããã¯ããããããã
DNS Round Robin and Destination IP address selection | Networking Blog
ãããèªãã¨ãIPv6 ãæå¹ã«ãªã£ã¦ããã°ãRFC3484 rule 9 ã«å¾ã£ã¦ãå¾ããã IP ã¢ãã¬ã¹ãã½ã¼ããã¦ãã¾ãã®ã§ãããã¾ã§ã®ãããªã©ã¦ã³ãããã³ã«ã¯ãªããªããããã¯å¾ãããã¢ãã¬ã¹ã IPv4 ã IPv6 ãã«é¢ä¿ãªãããIPv6 ãæå¹ãã§ããã°ãã®ãããªåä½ã«ãªããVista ãã㯠IPv6 ãããã©ã«ãã§æå¹ã ãããã¢ããªã±ã¼ã·ã§ã³å´ã対å¿ãã¦ãªããã°ã©ã¦ã³ãããã³ã¯å¹ããªããªãã
Bug#438179: glibc's getaddrinfo() sort order
Debian ã®ã¡ã¼ãªã³ã°ãªã¹ãã«æµãã¦ããã¡ãã»ã¼ã¸ã«
One of the existing use cases that breaks is round-robin DNS. Round-robin DNS is not an IETF standard; its use has been discouraged by various parties for years; it has limitations that make it unsuitable for any but the simplest of configurations.
ã¨ãã£ã¦ããããã DNS ã®ã©ã¦ã³ãããã³ã¯ãIETF æ¨æºã§ã¯ç¡ãã£ãã¿ããã
ããããç¥ããªãã£ããªã...ã