Home GnuPG
Diffusion GnuPG 15d2a009931f

dirmngr: Implement querying nameservers over IPv6.

Tags
None
Subscribers
None
Tokens
"Doubloon" token, awarded by werner.

Description

dirmngr: Implement querying nameservers over IPv6.

* dirmngr/dns.c (dns_so_check): Reinitialize sockets on address family
mismatch.
(enum dns_res_state): New states for querying over IPv6.
(dns_res_exec): Implement the new states by copying and modifying the
IPv4 variants.  Branch to their respective counterparts if the current
list of resolvers using the current address family is exhausted.

This allows dirmngr to resolve names on systems where the nameservers
are only reachable via IPv6.

  • GnuPG-bug-id: T2990
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Jun 13 2017, 11:33 AM
Parents
rGe80925171ddb: gpg: Disable keydb handle caching only for W32
Branches
Unknown
Tags
Unknown
Tasks
T2990: dirmngr fails with IPv6 nameserver in resolv.conf