Ruby, Pythonã§ä¸¦åã«éå¼ããè¡ã ã¦ã§ããµã¼ãã®ãã°ã解æããã¨ããªã©ãIPã¢ãã¬ã¹ãããã¹ãåãå¼ãå¦ç (éå¼ã) ã大éã«è¡ãããã¨ããããã¾ããDNS ã¸ã®éå¼ãã®åãåããã«ã¯å ´åã«ãã£ã¦ã¯æ°ç§å¾ ãããããã¨ãããããã大éã® IP ã¢ãã¬ã¹ãã²ã¨ã¤ã¥ã¤é ã«å¦çãã¦ããã¨ããªãæéããããã¾ãã æ¬è¨äºã§ã¯ Ruby ã¾ã㯠Python ã§ãã«ãã¹ã¬ããã§ä¸¦åã«éå¼ããè¡ãæ¹æ³ãç´¹ä»ãã¾ãã Ruby ã®å ´å Ruby ã§éå¼ããè¡ãã«ã¯ socket ã©ã¤ãã©ãªã使ãæ¹æ³ã¨ãResolv ã©ã¤ãã©ãªã使ãæ¹æ³ãããã¾ãããã«ãã¹ã¬ããã§ä¸¦åã«éå¼ããè¡ãã«ã¯ Resolv ã©ã¤ãã©ãªã使ãå¿ è¦ãããã¾ãã socket ã©ã¤ãã©ãªã使ã£ãå ´åã Socket.gethostbyaddr ã Socket.getaddrinfo ã使ã£ã¦éå¼ããè¡ãã¾ãããããã¯å
{{#tags}}- {{label}}
{{/tags}}