From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#58520: Persistent failure to DNS-lookup hostname Date: Mon, 11 Dec 2023 17:24:24 +0530 Message-ID: <87fs09uf7z.fsf@gmail.com> References: <875y2j9sm6.fsf@gmail.com> <87r0l6fzdv.fsf@gmail.com> <87edh6fdvo.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="1615"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58520@debbugs.gnu.org, Paul Eggert To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 11 12:55:05 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rCesL-00009Y-4x for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Dec 2023 12:55:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCes4-00080j-5J; Mon, 11 Dec 2023 06:54:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCes3-00080b-6F for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2023 06:54:47 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCes2-0007vD-UB for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2023 06:54:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCesH-0005im-Jh for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2023 06:55:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Dec 2023 11:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58520 X-GNU-PR-Package: emacs Original-Received: via spool by 58520-submit@debbugs.gnu.org id=B58520.170229569421975 (code B ref 58520); Mon, 11 Dec 2023 11:55:01 +0000 Original-Received: (at 58520) by debbugs.gnu.org; 11 Dec 2023 11:54:54 +0000 Original-Received: from localhost ([127.0.0.1]:52787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCes9-0005iN-D6 for submit@debbugs.gnu.org; Mon, 11 Dec 2023 06:54:53 -0500 Original-Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:56658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCes4-0005i0-Uu for 58520@debbugs.gnu.org; Mon, 11 Dec 2023 06:54:51 -0500 Original-Received: by mail-pf1-x444.google.com with SMTP id d2e1a72fcca58-6ce934e9d51so2640631b3a.1 for <58520@debbugs.gnu.org>; Mon, 11 Dec 2023 03:54:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702295668; x=1702900468; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7WpQDDBXgP4gtUTIkBvTnTmk5zskCmbXALXU3wsGtcA=; b=ZJc9m9fsPNK7DsvLZ3k/vpS+xAJDUqjJfmzrR7veRGUU1BUmg8xLVzLDkz5YnoJomo tP5PikMg21O9SOh6YufNqAzBxnTaQh+F8vUcGLfzI1UH6e0/GvlCDuVmZOjV8ZtPDH4t Nd9LPwkA5oN5ylwUmIlDKqxtvDensrUMu3Q4dvZEUdVLV6m05HeVfsFKOXb/GGuan4Uk vB6nAz4zQPeObei9OTOX2AwudJqY2yESxeaGLP3SrI7wfWGb6qII9TKiLIamcWu+rfz8 FYrlMtY/Ww+RMsWhnquSFCFuczSAab/HFW7U9Wt5mJcK+Jy72nqkK90urSLxef2uqvxQ RrwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702295668; x=1702900468; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=7WpQDDBXgP4gtUTIkBvTnTmk5zskCmbXALXU3wsGtcA=; b=cWPnuNL7OqrIMWlkwU+qioWHXembZYNaGXX/2P7TX/Wnvz8+Hcw+YbC4LODxLndIcy nepVcvlYnhX5gad4jJAbjvNp7A76HAQA0CGODE11fZXCyfucpCN2RyxoqxaK0Yd4BmW2 +SIo1oRXrWMLN5utHtIQUm7ob1J/7K+wX8BgD8ey+kmImhuEKithZrZDgJw3WfmYtW7l 1QQOpRUY6kJ+jnp5YO8ftDC2QXnKdpotqtFa8CVEEXRBIWq9KNS2vAAYTasj+eQPn4sY 2ihGBDgKAoYu3sY2PPzPUL+Njz63qTyRh9pHGei+DNvRgPmzG8AOkhSdjVUBF/2VZN2W SCEg== X-Gm-Message-State: AOJu0YzUmV9ddJqr0CneARHZVsDQ1FOG69jTQV7fmPAKLgzz1oxoHO8x ErcLUnyVoCGpk1fymBKucVs= X-Google-Smtp-Source: AGHT+IEq8DJxW4oMN7MtXbH/k/fX6B730ZwlAURESgk7LxwbUUnzFIsNC8QHaF4m1Eld7zPowGARHA== X-Received: by 2002:a05:6a20:9481:b0:18b:37b4:e6a7 with SMTP id hs1-20020a056a20948100b0018b37b4e6a7mr1578420pzb.7.1702295668215; Mon, 11 Dec 2023 03:54:28 -0800 (PST) Original-Received: from localhost ([49.205.83.111]) by smtp.gmail.com with ESMTPSA id o26-20020a056a001b5a00b006ce70490445sm6087401pfv.85.2023.12.11.03.54.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 03:54:27 -0800 (PST) In-Reply-To: <87edh6fdvo.fsf@gmail.com> (Visuwesh's message of "Sat, 04 Nov 2023 08:01:23 +0530") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:275977 Archived-At: [=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=A8=E0=AE=B5=E0=AE=AE=E0=AF=8D=E0=AE=AA= =E0=AE=B0=E0=AF=8D 04, 2023] Visuwesh wrote: > [=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=A8=E0=AE= =B5=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0=AF=8D 03, 2023] Stefan Monnier v= ia "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: > >>> 3 Contacting host: search.brave.com:443 >>> 4 search.brave.com/0 Temporary failure in name resolution >>> 5 cdn.search.brave.com/0 Temporary failure in name resolution >>> 6 cdn.search.brave.com/0 Temporary failure in name resolution >> [...] >>> 11 Contacting host: search.brave.com:443 >>> 12 cdn.search.brave.com/0 Temporary failure in name resolution >> >>> Line nos. 1 and 2 are from url.el requests. 3--6 and 11--12 is from( >>> connection to search.brave.com from eww for an internet search. >> >> Seems like the accesses failed just as well, so my guess is that the >> only thing different with EWW is that it falls back on a cache or >> something like that. > > You might be right actually. If I face this next time, I should search > something other than "asd." If only eww recorded the time at which the > request was made... And that fateful day arrived again. AFAICT, eww does not seem to hold any cache (at least that's what searching for the word "cache" leads me to believe) but url.el does seem to have some caching mechanism. I evaluated the sexp (let ((url-cache-expire-time 0)) (url-cache-prune-cache)) and tried searching in eww again and it did that weird thing where the request failed with the same error but still managed to render the page in the end. So far, I think that this issue has to do with the DNS changing and Emacs somehow not being aware of it? If I can trace the DNS server being used in the end by Emacs that would help confirm this. I will try asking around to see if I can do this. P.S. It would be nice to have that patch that you mentioned that added a function that fixes the broken requests.