From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Persistent failure to lookup hostname Date: Tue, 04 Oct 2022 16:53:49 +0300 Message-ID: <83lepvvgnm.fsf@gnu.org> References: <83mtacw073.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23858"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 04 16:24:35 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 1ofiqY-0005y4-KG for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Oct 2022 16:24:34 +0200 Original-Received: from localhost ([::1]:58488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofiqX-0003C4-My for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Oct 2022 10:24:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofiMv-0004oJ-K3 for emacs-devel@gnu.org; Tue, 04 Oct 2022 09:54:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37778) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofiMt-0004JR-Lm; Tue, 04 Oct 2022 09:53:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=pBfbTiRDa4y3EaNNEtph4OohH6GM4ztYIM1VLvqrKM4=; b=IVdKr76pqAK8 i84HANAR5Fi5qG4/zoFcQ991mFaeL5BtTVU/K7kt1cxzQkfZtevpgL9lVMaFsLW0PPVK7KXXYHE4e avtb+UhnHSV4EeArSXoAKM9VOFYBMrAPMDfUKU6FlktQd5wE9Zm48WCmw3NkQAgD2zWdc2QDRqs3/ mX/0tG54EBmu5DN0JpzvKs+6Yuhm7tQFAatfNtAvI8CLLQFC4cHbMc7PjJbxu2dgzOIA9Tk0Jo+8J qknV/ErPtgYFnptjvjOyWzu/dQDq0/72+bcLmFNZ+sOw4vPJjyKv5VQEqjD2bjwOOb4Co9eeH5KoW 5+ef7ZLASfi02/VH95GkzQ==; Original-Received: from [87.69.77.57] (port=1974 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofiMs-0007KB-Uu; Tue, 04 Oct 2022 09:53:55 -0400 In-Reply-To: (message from Stefan Monnier on Tue, 04 Oct 2022 09:24:36 -0400) 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:296882 Archived-At: > From: Stefan Monnier > Cc: emacs-devel@gnu.org > Date: Tue, 04 Oct 2022 09:24:36 -0400 > > Eli Zaretskii [2022-10-04 09:51:44] wrote: > >> Does anyone here have an idea why `getaddrinfo` might return an outdated > >> error, or whether it could come from elsewhere? Or how/where I might > >> find a kind of DNS cache that would be process-local rather > >> than systemwide? > > Is it certain that the problem is specific to that single process? > > No. But it's certain that it's not system-wide because all the other > processes (including a fresh new Emacs session, and an older Emacs > session that rarely/never uses network connections) I tried had no > problem resolving that same address. You are saying that the affected Emacs session cannot use eww or any of the url code to access sites (or just that IMAP site)? > > Did you try flushing and renewing the system's DNS cache with the > > appropriate shell commands? > > I don't know that I have such a thing on this system. Could be. Maybe the next links will help: https://devconnected.com/how-to-flush-dns-cache-on-linux/ https://beebom.com/how-flush-dns-cache-linux/ https://linuxize.com/post/how-to-clear-the-dns-cache/