Debian Bug report logs - #914395
gpg recv-key fails with no route to host

version graph

Package: gpg; Maintainer for gpg is Debian GnuPG Maintainers <[email protected]>; Source for gpg is src:gnupg2 (PTS, buildd, popcon).

Reported by: Craig Small <[email protected]>

Date: Thu, 22 Nov 2018 23:06:02 UTC

Severity: important

Found in version gnupg2/2.2.11-1

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#914395: [pkg-gnupg-maint] Bug#914395: dirmngr log
Reply-To: Craig Small <[email protected]>, [email protected]
Resent-From: Craig Small <[email protected]>
Resent-To: [email protected]
Resent-CC: Debian GnuPG Maintainers <[email protected]>
X-Loop: [email protected]
Resent-Date: Mon, 26 Nov 2018 11:57:02 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: followup 914395
X-Debian-PR-Package: gpg
X-Debian-PR-Keywords: 
References: <[email protected]> <[email protected]> <[email protected]> <[email protected]>
X-Debian-PR-Source: gnupg2
Received: via spool by [email protected] id=B914395.154323316410009
          (code B ref 914395); Mon, 26 Nov 2018 11:57:02 +0000
Received: (at 914395) by bugs.debian.org; 26 Nov 2018 11:52:44 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
	(2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-15.1 required=4.0 tests=BAYES_00,FOURLA,
	FROMDEVELOPER,HAS_BUG_NUMBER,HEADER_FROM_DIFFERENT_DOMAINS,
	HTML_MESSAGE,PHONENUMBER,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,
	RCVD_IN_MSPIKE_WL,TXREP,WEIRD_PORT autolearn=ham autolearn_force=no
	version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 150; neutral, 190; spammy,
	0. spammytokens: hammytokens:0.000-+--H*F:U*csmall,
	0.000-+--pkggnupgmaint, 0.000-+--pkg-gnupg-maint,
	0.000-+--H*RU:sk:csmall@, 0.000-+--gnupg
Received: from mail-qt1-f195.google.com ([209.85.160.195])
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.89)
	(envelope-from <[email protected]>)
	id 1gRFRT-0002b7-AY
	for [email protected]; Mon, 26 Nov 2018 11:52:44 +0000
Received: by mail-qt1-f195.google.com with SMTP id r14so17128517qtp.1
        for <[email protected]>; Mon, 26 Nov 2018 03:52:43 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to:cc;
        bh=qk01ItatGHi6TDEdmD5jRucn6wGSwTTiRyuP07XSU5k=;
        b=UQnew8MQ5fkRoV1A46uMY0D23goUMnAHSA5k4cIZOVVBXk4CfQMHCArW1ZqDriUx1d
         dDfpZEOBflZku8uTINwRp2QVOFWf7WsVIG4qcztDMCzdaVkfkMRlbLZs3wwhmFeCpGGi
         uKxa1Yaf7bXKuU5qewdNUNKctPbfhWOXvFWmTbz5fkLmsex1I7/85q2bAmgOBuobzhJH
         EHyoy3BAR6LpuAl1xyQPKqX2vePL6Ee/y9gmaDOwnu+0xEM7nKCRZcIRfMYbLC1ucCN1
         57rj7SJB+Lu+c5gUGgpUVW+KahXxRFFsx2hOaPuf49HwFLxnHu1JNzaKOAS1AMkFOqdN
         RVDQ==
X-Gm-Message-State: AA+aEWabR4kZNZwUQXI1Wen1KZ5o1x2BmDo86XrtIQjAHdJY0ImpmvcR
	yoZpuPOnKouddGkui4+qrikUfeC9UrF2mQ==
X-Google-Smtp-Source: AFSGD/Vy39mX4tJTzIbfXImO56ZuGIyaNwrFA/BSBzzB4OA85K1zF8xxGYmTcuc3CDnLvVUmfRv2TA==
X-Received: by 2002:a0c:b044:: with SMTP id l4mr25663090qvc.80.1543233161472;
        Mon, 26 Nov 2018 03:52:41 -0800 (PST)
Received: from mail-qt1-f181.google.com (mail-qt1-f181.google.com. [209.85.160.181])
        by smtp.gmail.com with ESMTPSA id f189sm70126qkb.4.2018.11.26.03.52.40
        for <[email protected]>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Mon, 26 Nov 2018 03:52:40 -0800 (PST)
Received: by mail-qt1-f181.google.com with SMTP id z16so17107057qtq.4
        for <[email protected]>; Mon, 26 Nov 2018 03:52:40 -0800 (PST)
X-Received: by 2002:aed:3e49:: with SMTP id m9mr23409377qtf.99.1543233160484;
 Mon, 26 Nov 2018 03:52:40 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <[email protected]>
From: Craig Small <[email protected]>
Date: Mon, 26 Nov 2018 22:52:29 +1100
X-Gmail-Original-Message-ID: <CALy8Cw7261v09hBS94xCX0ebvPR4toFYyT7Fe+eJvu4RAGk2KQ@mail.gmail.com>
Message-ID: <CALy8Cw7261v09hBS94xCX0ebvPR4toFYyT7Fe+eJvu4RAGk2KQ@mail.gmail.com>
To: [email protected]
Cc: [email protected]
Content-Type: multipart/mixed; boundary="0000000000005686be057b8ff86e"
[Message part 1 (text/plain, inline)]
The standard-resolver option makes it work, how strange. I can see the
system trys to resolve the SRV record and then after that an A/AAAA record.

 - Craig





On Mon, 26 Nov 2018 at 18:45, Werner Koch <[email protected]> wrote:

> On Sun, 25 Nov 2018 22:22, [email protected] said:
> > It seems it needs the SRV record and fails wrong without it.
> > Checking on the same system looking up that SRV record I get the
> > expected NXDOMAIN error.
>
> That seems to be a Debian specific problem; with a dirmngr started by
> the gpg command, I get this with master (and pretty sure also with 2.2.11):
>
>   DBG: chan_7 <- KEYSERVER --clear hkp://keyring.debian.org
>   DBG: chan_7 -> OK
>   DBG: chan_7 <- KS_GET -- 0xDF50FEA5
>   DBG: dns: libdns initialized
>   DBG: dns: getsrv(_pgpkey-http._tcp.keyring.debian.org) -> 0 records
>   DBG: dns: resolve_dns_name(keyring.debian.org): Success
>   resolve_dns_addr for 'keyring.debian.org': 'keyring.debian.org'
> [already known]
>   resolve_dns_addr for 'keyring.debian.org': 'keyring.debian.org'
> [already known]
>   DBG: dns: resolve_dns_name(keyring.debian.org): Success
>   DBG: chan_7 -> S SOURCE http://keyring.debian.org:11371
>   DBG: (20847 bytes sent via D lines not shown)
>
> Can you please test with
>
>   standard-resolver
>   no-use-tor
>
> in dirmngr.conf ?
>
>
> --
> Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
>
[Message part 2 (text/html, inline)]
[dirmngr.log (text/x-log, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 17:47:24 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.