X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 947C43858284 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1690640867; bh=/h6QS2k9HSO8DUvAvoLaocg/IeBAoMF5X9NdEtp2uP8=; h=To:Subject:Date:References:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=oNQqhK7THZ3tkGZE3OoaB9Jl4TIgkyjqHWpsddFIvX2KVFqUCUb1Rp2AaG28n33VV dpAfcobDqcHPpgR0DZ7ATGPPqU2WR2Lo28oOAcZfyue++CpFyfPW/H3E1+9Ijl9mB2 rKQ/GN5Zna6fQLanvsqZlc9/prxvgeZhIrKPzgBA= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3F78838555A3 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com Subject: Re: [EXTERNAL] dig and host don't work in IPv6 Date: Sat, 29 Jul 2023 10:26:29 -0400 Message-ID: References: <6hi7cilufpjnc4u968imrl826rk0n88hsc AT 4ax DOT com> <88i8cipvg9pl02drkt31mja146eqfuo9l5 AT 4ax DOT com> Mime-Version: 1.0 X-Newsreader: Forte Agent 4.2/32.1118 X-Archive: encrypt X-Spam-Status: No, score=-3031.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_NUMSUBJECT, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrew Schulman via Cygwin Reply-To: Andrew Schulman Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" > Sorry... Did you try using the -d option to see what DNS servers these commands try to actually connect to (and time out, eventually). No help unfortunately. $ host -d6 cygwin.com Trying "cygwin.com" ;; connection timed out; no servers could be reached > (strace can help as well, I think.) Posted at https://pastebin.com/XWwxJ41b. I'm not able to make much sense of it, except that on line 1339, I waited almost 5 seconds for sendmsg: 4964291 6958349 [isc-worker0000] host 20999 cygwin_sendmsg: 28 = sendmsg(20, 0x7FFDFC830, 0x0) Thanks for taking a look. I'm looking at other options in resolv.conf, but haven't found anything useful. I can't find any documention of the osquery option. This answer[1] says "res_init() uses the Windows resolver if either /etc/resolv.conf does not exist, or /etc/resolv.conf contains options osquery." Doesn't help in this case though. Andrew [1] https://stackoverflow.com/questions/10523828/how-does-gcc-cygwin-get-the-dns-server -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple