public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* resolv.conf and gnupg2
@ 2022-08-07 14:34 Marco Atzeri
  2022-08-07 22:33 ` Mark Geisert
  2022-08-08  7:30 ` Corinna Vinschen
  0 siblings, 2 replies; 10+ messages in thread
From: Marco Atzeri @ 2022-08-07 14:34 UTC (permalink / raw)
  To: cygwin-apps; +Cc: Chad Dougherty

Hi,

currently as default Gnupg 2.x is unable to contact keyservers and 
recover any key. Gnupg 1.x has not such problem

$  /usr/bin/gpg2 --keyserver pgp.mit.edu --recv-keys 5981E818 
gpg: keyserver receive failed: No such file or directory

The cryptic message is due to the absence of a /etc/resolv.conf
as adding a simple one with a public DNS server overcomes the issue

$ cat /etc/resolv.conf
; /etc/resolv.conf file for dnsmaster
;
domain           .com
nameserver       0.0.0.0
nameserver       8.8.8.8


$  /usr/bin/gpg2 --keyserver pgp.mit.edu --recv-keys 5981E818
gpg: key D17BF2305981E818: 1 duplicate signature removed
gpg: key D17BF2305981E818: "Andrew Makhorin <mao@mai2.rcnet.ru>" not chan
gpg: Total number processed: 1
gpg:              unchanged: 1


I would expect BIND to be a package that creates/manages resolv.conf as
it provides a library to parser it, but I do not see any place where 
this is done.

$ cygcheck -p resolv.conf
Found 7 matches for resolv.conf
..
libirs161-9.11.9-1 - libirs161: BIND resolv.conf parser library
man-pages-linux-5.13-1 - man-pages-linux: Linux manual pages

Any suggestion on how to solve the absence of /etc/resolv.conf ?
I doubt  gnupg2 is the proper package to do so.


Regards
Marco


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-08-10 17:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-07 14:34 resolv.conf and gnupg2 Marco Atzeri
2022-08-07 22:33 ` Mark Geisert
2022-08-08  9:15   ` ASSI
2022-08-08 11:50     ` Corinna Vinschen
2022-08-08  7:30 ` Corinna Vinschen
2022-08-08 11:54   ` Corinna Vinschen
2022-08-08 12:13   ` Yasuhiro Kimura
2022-08-08 14:13     ` Corinna Vinschen
2022-08-08 18:29       ` Chad Dougherty
2022-08-10 17:22       ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).