From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Persistent failure to lookup hostname Date: Tue, 04 Oct 2022 09:27:03 -0400 Message-ID: References: <87lepw4fyz.fsf@gnus.org> <87tu4k9gz2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27296"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 04 16:25:21 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ofirJ-0006vb-4I for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Oct 2022 16:25:21 +0200 Original-Received: from localhost ([::1]:34746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofirH-0004mT-Pv for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Oct 2022 10:25:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofhx2-0002ig-1Z for emacs-devel@gnu.org; Tue, 04 Oct 2022 09:27:12 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:47960) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofhwy-0000Hk-V3 for emacs-devel@gnu.org; Tue, 04 Oct 2022 09:27:10 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id BAF8A44318C; Tue, 4 Oct 2022 09:27:06 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id CF98B442F11; Tue, 4 Oct 2022 09:27:04 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1664890024; bh=nf9RawZfj56xe/xKyEQiTO40rEmu1WqjwAyjLO/2Yg0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=a1HP47wUQEKWXd93NltL63y/DDhnKmWWD3Sq5b/INMnDjr5JA2W4upVdLO/+hkqo5 0fYKlQa5WPniqtNi2+z7gqr4ECxqpgr3R1nWUCOea4a6LPDeSbZEYRAiUPRZIs9XUU wD6S9iIZagN6O3qp9Ndns4QGTSlJP/I2hMBtALA78H5Vg9PtSJe5+sW+JVR7akZ1zw yy9+yDcWPJ8V3G+1EsIHEUxCatbyvFJ5XcORVaEsVmHhsQxFEcCXsU/QbllFyFCgR1 y4o+giHWG/N1RUNginfhzEyETsokmavQAq097Ituhvz+w81ZgjJhe37b29OsaH+++G k8ytiq0T9GH2w== Original-Received: from pastel (65-110-220-202.cpe.pppoe.ca [65.110.220.202]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 9A568120BC6; Tue, 4 Oct 2022 09:27:04 -0400 (EDT) In-Reply-To: <87tu4k9gz2.fsf@gmail.com> (Robert Pluim's message of "Tue, 04 Oct 2022 09:37:53 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:296883 Archived-At: Robert Pluim [2022-10-04 09:37:53] wrote: >>>>>> On Mon, 03 Oct 2022 20:15:19 -0400, Stefan Monnier said: > Stefan> Lars Ingebrigtsen [2022-10-04 01:58:28] wrote: > >> Stefan Monnier writes: > >>> My Gnus session occasionally gets into a state where it insists t= hat my > >>> mail server's DNS name isn't found. > >> Is this with nnimap? (I'm mostly just wondering whether this could > >> somehow be tied to the async code paths, which are more complicate= d than > >> the synchronous code paths and keep more state -- but nnimap doesn= 't use > >> async, so that would rule out that.) > > Stefan> Hmm... yes, I think it's always been for my IMAP server. > > One thing you absolutely need to check in these situations is if DNS quer= ies > are making it out of Emacs at all. e.g. > > sudo tcpdump -i any -n udp and port 53 > > If they=CA=BCre not, then maybe it=CA=BCs an issue with resolv.conf, as M= adhu > suggests. Indeed, they may also be sent to "the wrong" nameserver (e.g. the nameserver that was to be used back when I was working in that caf=C3=A9 the other day). Thanks, Stefan