[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58520: Persistent failure to DNS-lookup hostname
From: |
Stefan Monnier |
Subject: |
bug#58520: Persistent failure to DNS-lookup hostname |
Date: |
Mon, 18 Dec 2023 12:41:00 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
>> Cc: 58520@debbugs.gnu.org, Paul Eggert <eggert@cs.ucla.edu>
>> Date: Sun, 17 Dec 2023 18:27:10 -0500
>> From: Stefan Monnier via "Bug reports for GNU Emacs,
>> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>>
>> > P.S. It would be nice to have that patch that you mentioned that added a
>> > function that fixes the broken requests.
>>
>> I use the patch below.
>> When Emacs gets into this weird state, I do `M-: (res-init) RET` after
>> which I can connect again.
>
> Why do you need Emacs for that? Write a small program that calls
> res_init, and that's it.
I don't understand what you mean. The problem is in the running Emacs
session, not in the overall system. I'd have to write a separate
program that goes and "pokes" inside my running Emacs process, which
sounds quite complicated.
IOW, `res_init` only affects the running program.
Stefan