From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94655 invoked by alias); 7 Jan 2016 15:39:34 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 94645 invoked by uid 89); 7 Jan 2016 15:39:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_40,FILL_THIS_FORM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*M:post, AUTHORITY, H*MI:post, Hx-languages-length:2904 X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 07 Jan 2016 15:39:32 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aHCet-0002gl-4v for cygwin@cygwin.com; Thu, 07 Jan 2016 16:39:27 +0100 Received: from S010690fba62c4bda.cg.shawcable.net ([96.51.88.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jan 2016 16:39:27 +0100 Received: from Brian.Inglis by S010690fba62c4bda.cg.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jan 2016 16:39:27 +0100 To: cygwin@cygwin.com From: Brian Inglis Subject: getaddrinfo fails with =?utf-8?b?RUFJX05PREFUQQ==?= for some valid hosts with A records Date: Thu, 07 Jan 2016 15:39:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00061.txt.bz2 getaddrinfo fails with err 7 EAI_NODATA for some valid hosts with A records. Err 7 EAI_NODATA is mapped from WSANO_DATA err 11004 in Windows. Can anyone reproduce failure with problem host name below? STC is run on Linux and Cygwin (up to date): #!/bin/bash # nslookup, getent hosts, getent ahosts run with good and problem host names uname -srvmo nslookup -debug cygwin.org getent hosts cygwin.org getent ahosts cygwin.org nslookup -debug leapsecond.utcd.org getent hosts leapsecond.utcd.org getent ahosts leapsecond.utcd.org uname -srvmo # Linux results: $ uname -srvmo Linux 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux $ nslookup -debug cygwin.org Server: 64.59.135.148 Address: 64.59.135.148#53 ------------ QUESTIONS: cygwin.org, type = A, class = IN ANSWERS: -> cygwin.org internet address = 209.132.180.131 ttl = 300 AUTHORITY RECORDS: ADDITIONAL RECORDS: ------------ Non-authoritative answer: Name: cygwin.org Address: 209.132.180.131 $ getent hosts cygwin.org 209.132.180.131 cygwin.org $ getent ahosts cygwin.org 209.132.180.131 STREAM server1.sourceware.org 209.132.180.131 DGRAM 209.132.180.131 RAW $ nslookup -debug leapsecond.utcd.org Server: 64.59.135.148 Address: 64.59.135.148#53 ------------ QUESTIONS: leapsecond.utcd.org, type = A, class = IN ANSWERS: -> leapsecond.utcd.org internet address = 244.34.36.97 ttl = 600 AUTHORITY RECORDS: ADDITIONAL RECORDS: ------------ Non-authoritative answer: Name: leapsecond.utcd.org Address: 244.34.36.97 $ getent hosts leapsecond.utcd.org 244.34.36.97 leapsecond.utcd.org $ getent ahosts leapsecond.utcd.org 244.34.36.97 STREAM leapsecond.utcd.org 244.34.36.97 DGRAM 244.34.36.97 RAW $ uname -srvmo Linux 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux # Cygwin results: $ uname -srvmo CYGWIN_NT-6.1 2.3.1(0.291/5/3) 2015-11-14 12:44 x86_64 Cygwin $ nslookup -debug cygwin.org Server: 64.59.135.148 Address: 64.59.135.148#53 ------------ QUESTIONS: cygwin.org, type = A, class = IN ANSWERS: -> cygwin.org internet address = 209.132.180.131 ttl = 199 AUTHORITY RECORDS: ADDITIONAL RECORDS: ------------ Non-authoritative answer: Name: cygwin.org Address: 209.132.180.131 $ getent hosts cygwin.org 209.132.180.131 cygwin.org $ getent ahosts cygwin.org 209.132.180.131 0 cygwin.org $ nslookup -debug leapsecond.utcd.org Server: 64.59.135.148 Address: 64.59.135.148#53 ------------ QUESTIONS: leapsecond.utcd.org, type = A, class = IN ANSWERS: -> leapsecond.utcd.org internet address = 244.34.36.97 ttl = 501 AUTHORITY RECORDS: ADDITIONAL RECORDS: ------------ Non-authoritative answer: Name: leapsecond.utcd.org Address: 244.34.36.97 $ getent hosts leapsecond.utcd.org 244.34.36.97 leapsecond.utcd.org $ getent ahosts leapsecond.utcd.org $ uname -srvmo CYGWIN_NT-6.1 2.3.1(0.291/5/3) 2015-11-14 12:44 x86_64 Cygwin -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple