gpg: error retrieving 'erich at' via WKD: Connection closed in DNS

Ángel angel at
Wed Jan 20 01:47:59 CET 2021

On 2021-01-19 at 17:24 +0100, Erich Eckner via Gnupg-users wrote:
> What can cause a "Connection closed in DNS" error? (Maybe the error 
> message can be improved: Doesn't dns use udp by default, which is 
> connectionless?)

I think it means dns.c returned DNS_ECONNFIN [1], which gets converted
to GPG_ERR_DNS_CLOSED in dns-stuff.c and is then libgpg-error describes
as "Connection closed in DNS"

I'm not sure if this error can happen when using UDP, but do note that
you can also (and in some cases must) perform DNS queries using tcp.

Best regards


More information about the Gnupg-users mailing list