From: <tomas@tuxteam.de>
To: emacs-devel@gnu.org
Subject: Re: Persistent failure to lookup hostname
Date: Tue, 4 Oct 2022 10:05:29 +0200 [thread overview]
Message-ID: <YzvpScqIfjVremxG@tuxteam.de> (raw)
In-Reply-To: <87tu4k9gz2.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1437 bytes --]
On Tue, Oct 04, 2022 at 09:37:53AM +0200, Robert Pluim wrote:
> >>>>> On Mon, 03 Oct 2022 20:15:19 -0400, Stefan Monnier <monnier@iro.umontreal.ca> said:
>
> Stefan> Lars Ingebrigtsen [2022-10-04 01:58:28] wrote:
> >> Stefan Monnier <monnier@iro.umontreal.ca> writes:
> >>> My Gnus session occasionally gets into a state where it insists that 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 complicated 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 queries
> are making it out of Emacs at all. e.g.
>
> sudo tcpdump -i any -n udp and port 53
"Out of Emacs" can mean different things :)
E.g. if nscd is active, that's a caching layer somewhere at libc level (so
Emacs won't be aware of it, but the request won't hit the net, so tcpdump
won't see it). Also, for the young-uns, systemd is said to do DNS caching
itself too (what doesn't it do?), but I can't test that due to lack of
systemd ;-) That one, possibly, is also in limbo between Emacs and what
tcpdump can see (but also possibly, not).
Cheers
--
t
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2022-10-04 8:05 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-03 23:44 Persistent failure to lookup hostname Stefan Monnier
2022-10-03 23:58 ` Lars Ingebrigtsen
2022-10-04 0:15 ` Stefan Monnier
2022-10-04 7:37 ` Robert Pluim
2022-10-04 8:05 ` tomas [this message]
2022-10-04 9:30 ` Robert Pluim
2022-10-04 9:40 ` tomas
2022-10-04 13:27 ` Stefan Monnier
2022-10-04 14:41 ` Robert Pluim
2022-10-04 15:07 ` Stefan Monnier
2022-10-04 3:40 ` Madhu
2022-10-04 13:20 ` Stefan Monnier
2022-10-06 19:56 ` Stefan Monnier
2022-10-14 15:53 ` Stefan Monnier
2022-10-04 6:51 ` Eli Zaretskii
2022-10-04 13:24 ` Stefan Monnier
2022-10-04 13:53 ` Eli Zaretskii
2022-10-04 14:00 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YzvpScqIfjVremxG@tuxteam.de \
--to=tomas@tuxteam.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).